Feed aggregator
Permanent Standard Time Could Cut Strokes, Obesity Among Americans
A new Stanford-led study finds that switching permanently to standard time could prevent 300,000 strokes and reduce obesity in 2.6 million Americans by better aligning circadian rhythms with natural light. Researchers argue that the twice-yearly clock changes are the worst option for public health, while permanent daylight saving time would offer two-thirds of the benefits. From a report: "We found that staying in standard time or staying in daylight saving time is definitely better than switching twice a year," senior researcher Jamie Zeitzer said in a news release. He's a professor of psychiatry and behavioral sciences at Stanford University in California. For the study, researchers estimated how different national time policies might affect American's circadian rhythms -- the body's innate clock that regulates many physiological processes. The human circadian cycle isn't exactly 24 hours, researchers noted. It's about 12 minutes longer for most people, and it can be changed based on a person's exposure to light.
"When you get light in the morning, it speeds up the circadian cycle. When you get light in the evening, it slows things down," Zeitzer said. "You generally need more morning light and less evening light to keep well synchronized to a 24-hour day." An out-of-sync circadian cycle has been linked with many different poor health outcomes, researchers said. "The more light exposure you get at the wrong times, the weaker the circadian clock," Zeitzer said. "All of these things that are downstream -- for example, your immune system, your energy -- don't match up quite as well." Most people would experience the least circadian burden under permanent standard time, which prioritizes morning light, researchers found.
The research team then linked its analysis of circadian rhythms to county-level data from the U.S. Centers for Disease Control and Prevention (CDC) to see how each time policy might affect people's health. Their models showed that permanent standard time would reduce obesity nationwide by 0.78% and stroke by 0.09%. Those seemingly small percentage changes, when played out across the national population, would mean 2.6 million fewer people with obesity and 300,000 fewer cases of stroke. Permanent daylight savings time would result in a 0.51% drop in obesity -- around 1.7 million people -- and a 0.04% reduction in strokes, or 220,000 cases. Either move would help American health. "You have people who are passionate on both sides of this, and they have very different arguments," Zeitzer said. The findings have been published in the Proceedings of the National Academy of Sciences.
Read more of this story at Slashdot.
China Tells Its Tech Companies To Stop Buying All of Nvidia's AI Chips
China's internet regulator has told the country's biggest technology companies to stop buying all of Nvidia's artificial intelligence chips and terminate their existing orders, as Beijing steps up efforts to boost its homegrown semiconductor industry and compete with the US. From a report: The Cyberspace Administration of China (CAC) informed companies including ByteDance and Alibaba this week to terminate their testing and orders of the RTX Pro 6000D, Nvidia's tailor-made product for the country introduced two months ago, according to three people with knowledge of the matter.
Several companies had indicated they would order tens of thousands of the RTX Pro 6000D, and had started testing and verification work with Nvidia's server suppliers before telling them to stop the work after receiving the CAC order, said the people.
Read more of this story at Slashdot.
Download of the day: GIMP 3.0 is FINALLY Here!
Wow! After years of hard work and countless commits, we have finally reached a huge milestone: GIMP 3.0 is officially released! I am excited as I write this and can't wait to share some incredible new features and improvements in this release. GIMP 2.10 was released in 2018, and the first development version of GIMP 3.0 came out in 2020. GIMP 3.0 released on 16/March/2025. Let us explore how to download and install GIMP 3.0, as well as the new features in this version.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post Download of the day: GIMP 3.0 is FINALLY Here! appeared first on nixCraft.
2025-03-18T03:45:26Z
2025-03-18T03:45:26Z
Vivek Gite
How to list upgradeable packages on FreeBSD using pkg
Here is a quick list of all upgradeable packages on FreeBSD using pkg command. This is equivalent to apt list --upgradable command on my Debian or Ubuntu Linux system.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to list upgradeable packages on FreeBSD using pkg appeared first on nixCraft.
2025-03-16T20:25:39Z
2025-03-16T20:25:39Z
Vivek Gite
Ubuntu to Explore Rust-Based “uutils” as Potential GNU Core Utilities Replacement
In a move that has sparked significant discussion within the Ubuntu Linux fan-base and community, Canonical, the company behind Ubuntu, has announced its intention to explore the potential replacement of GNU Core Utilities with the Rust-based "uutils" project. They plan to introduce new changes in Ubuntu Linux 25.10, eventually changing it to Ubuntu version 26.04 LTS release in 2026 as Ubuntu is testing Rust 'uutils' to overhaul its core utilities potentially. Let us find out the pros and cons and what this means for you as an Ubuntu Linux user, IT pro, or developer.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post Ubuntu to Explore Rust-Based “uutils” as Potential GNU Core Utilities Replacement appeared first on nixCraft.
2025-03-16T12:17:36Z
2025-03-16T12:17:36Z
Vivek Gite
How to install KSH on FreeBSD
Installing KSH (KornShell) on FreeBSD can be done with either FreeBSD ports or the pkg command. The ports collection will download the KSH source code, compile it, and install it on the system. The pkg method is easier, and it will download a pre-compiled binary package. Hence, it is recommended for all users. KornShell (KSH) has a long history, and many older Unix systems and scripts rely on it. As a result, KSH remains relevant for maintaining and supporting legacy infrastructure. Large enterprises, especially those with established Unix-based systems, continue to use KSH for scripting and system administration tasks. Some industries where KSH is still commonly used include finance and telecommunications. While Bash has become the dominant shell in many Linux distributions, KSH still holds a significant presence in Unix-like environments, particularly in legacy systems. Therefore, installing KSH and practicing with it is worthwhile if you plan to work in such environments.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install KSH on FreeBSD appeared first on nixCraft.
2025-03-03T23:50:59Z
2025-03-03T23:50:59Z
Vivek Gite
Linux Sed Tutorial: Learn Text Editing with Syntax & Examples
Sed is an acronym for "stream editor." A stream refers to a source or destination for bytes. In other words, sed can read its input from standard input (stdin), apply the specified edits to the stream, and automatically output the results to standard output (stdout). Sed syntax allows an input file to be specified on the command line. However, the syntax does not directly support output file specification; this can be achieved through output redirection or editing files in place while making a backup of the original copy optionally. Sed is one of the most powerful tools on Linux and Unix-like systems. Learning it is worthwhile, so in this tutorial, we will start with the sed command syntax and examples.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post Linux Sed Tutorial: Learn Text Editing with Syntax & Examples appeared first on nixCraft.
2025-03-03T09:47:07Z
2025-03-03T09:47:07Z
Vivek Gite
How to tell if FreeBSD needs a Reboot using kernel version check
Keeping your FreeBSD server or workstation updated is crucial for security and stability. However, after applying updates, especially kernel updates, you might wonder, "Do I need to reboot my system?" Let's simplify this process and provide a straightforward method for determining whether a reboot is necessary using the CLI, shell script, and ansible playbook.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to tell if FreeBSD needs a Reboot using kernel version check appeared first on nixCraft.
2025-02-23T22:07:23Z
2025-02-23T22:07:23Z
Vivek Gite
Critical Rsync Vulnerability Requires Immediate Patching on Linux and Unix systems
Rsync is a opensource command-line tool in Linux, macOS, *BSD and Unix-like systems that synchronizes files and directories. It is a popular tool for sending or receiving files, making backups, or setting up mirrors. It minimizes data copied by transferring only the changed parts of files, making it faster and more bandwidth-efficient than traditional copying methods provided by tools like sftp or ftp-ssl. Rsync versions 3.3.0 and below has been found with SIX serious vulnerabilities. Attackers could exploit these to leak your data, corrupt your files, or even take over your system. There is a heap-based buffer overflow with a CVSS score of 9.8 that needs to be addressed on both the client and server sides of rsync package. Apart from that info leak via uninitialized stack contents defeats ASLR protection and rsync server can make client write files outside of destination directory using symbolic links.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post Critical Rsync Vulnerability Requires Immediate Patching on Linux and Unix systems appeared first on nixCraft.
2025-01-15T18:04:24Z
2025-01-15T18:04:24Z
Vivek Gite
How to control the SSH multiplexing with the control commands
Multiplexing will boost your SSH connectivity or speed by reusing existing TCP connections to a remote host. This is useful when you frequently connect to the same server using SSH protocol for remote login, server management, using IT automation tools over SSH or even running hourly backups. However, sometimes your SSH command (client) will not respond or get hung up on the session when using multiplexing. Typically, this happens when your public IP changes (IPv4 to IPv6 changes when using DNS names), VPN issues, or firewall cuts connections. Hence, knowing SSH client control commands can save you time and boost your productivity when such gotchas occur.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to control the SSH multiplexing with the control commands appeared first on nixCraft.
2025-01-15T08:29:10Z
2025-01-15T08:29:10Z
Vivek Gite
ZFS Raidz Expansion Finally, Here in version 2.3.0
After years of development and testing, the ZFS raidz expansion is finally here and has been released as part of version 2.3.0. ZFS is a popular file system for Linux and FreeBSD. RAIDz is like RAID 5, which you find with hardware or Linux software raid devices. It protects your data by spreading it across multiple hard disks along with parity information. A raidz device can have single, double, or triple parity to sustain one, two, or three hard disk failures, respectively, without losing any data. Hence, expanding or adding a new HDD is a very handy feature for sysadmins in today's data-sensitive apps.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post ZFS Raidz Expansion Finally, Here in version 2.3.0 appeared first on nixCraft.
2025-01-14T09:19:20Z
2025-01-14T09:19:20Z
Vivek Gite
How to run Docker inside Incus containers
Incus and Docker both use Linux kernel features to containerize your applications. Incus is best suited when you need system-level containers that act like traditional VMs and provide a persistent developer experience. On the other hand, Docker containers are ephemeral, i.e., temporary in nature. All files created inside Docker containers are lost when your Docker container is stopped or removed unless you stored them using volumes in different directories outside Docker. Docker is created as a disposable app deployment system. Incus containers are not typically created as disposables, and data is kept inside when they are stopped. Because of the Linux kernel support nesting feature, you can run Docker inside Incus. This page explains how to run Docker inside Incus containers.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to run Docker inside Incus containers appeared first on nixCraft.
2024-12-18T05:44:26Z
2024-12-18T05:44:26Z
Vivek Gite
MySQL Change root Password Command
How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX-like like operating system over the ssh session?
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post MySQL Change root Password Command appeared first on nixCraft.
2024-12-09T16:19:00Z
2024-12-09T16:19:00Z
Vivek Gite
How to enable mouse to copy & paste in vim
Some Linux distro like Debian or specific BSD variants provide very little configuration support for mouse out of the box for Vim. Let us see how to paste in Vim using a mouse by enabling support, which is useful for new developers and sysadmin coming from Windows background.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to enable mouse to copy & paste in vim appeared first on nixCraft.
2024-11-28T13:44:35Z
2024-11-28T13:44:35Z
Vivek Gite
How to install vnstat on Debian 12/11 to monitor network interface bandwidth usage
Do you need to keep track of the network traffic (bandwidth) usage for the Network interface controller (NIC) of your Debian Linux-based cloud or bare metal server? Look no forward. Try the vnStat, a free and open-source console-based network traffic monitor that keeps a log of 5-minute intervals, hourly, daily, monthly, and yearly network traffic for the selected interface. Once installed, vnStat can be used even without root permissions on most systems.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install vnstat on Debian 12/11 to monitor network interface bandwidth usage appeared first on nixCraft.
2024-11-27T19:07:02Z
2024-11-27T19:07:02Z
Vivek Gite
How to find hard disk (SSD) serial numbers in Linux
You need to use the smartctl command to display the hard disk (SSD) serial numbers in Linux. This is useful when changing your hard disk if it goes bad.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to find hard disk (SSD) serial numbers in Linux appeared first on nixCraft.
2024-11-16T21:38:35Z
2024-11-16T21:38:35Z
Vivek Gite
How to install kvm-ok on Debian or Ubuntu Linux
The KVM-ok command command will tell you if your Debian or Ubuntu Linux-powered server can host hardware-accelerated KVM virtual machines. KVM (Kernel-based Virtual Machine) is a free and open-source virtualization technology that is used with every Linux kernel. In other words, KVM will make your Linux computer into a hypervisor, allowing you to run multiple isolated virtual machines (VMs) on a single physical machine. However, KVM depends upon CPU hardware virtualization extensions like Intel VT-x or AMD-V to provide high-performance virtual machines. This support must be enabled in the BIOS. Apart from that, some cloud service providers also allow nested virtualization that will help you to run VMs inside your instances. However, this may not be enabled in BIOS or instance configuration. Thus, you need to install the kvm-ok command to determine whether such support exists.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install kvm-ok on Debian or Ubuntu Linux appeared first on nixCraft.
2024-11-16T06:54:11Z
2024-11-16T06:54:11Z
Vivek Gite
zcommands: Read gzip Compressed Text Files On a Fly on Linux and Unix
Linux and Unix like operating systems comes with z* commands. These commands allow you to read gzip compressed text files using zless, zcat, zmore, and friends commands. The gzip command reduces the size of the files using Lempel-Ziv coding (LZ77). Whenever possible, each file is replaced by one with the extension .gz while keeping the same ownership modes, access, and modification times. z* commands have some cool usage too, such as display the current time in different zonename.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post zcommands: Read gzip Compressed Text Files On a Fly on Linux and Unix appeared first on nixCraft.
2024-11-01T20:34:07Z
2024-11-01T20:34:07Z
Vivek Gite
How do I unzip multiple / many files under Linux?
I have lots of files in a directory called /disk2/images/. All files are in zip file format, so I am using the following command to extract zip files:
unzip *.zip
The command result into an error which read as follows:
caution: filename not matched
How do I unzip multiple or many zip files under a Linux/Unix-like system?
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How do I unzip multiple / many files under Linux? appeared first on nixCraft.
2024-09-27T19:56:29Z
2024-09-27T19:56:29Z
Vivek Gite
Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File )
Most Linux and UNIX-like system configuration files are documented using comments, but sometimes I just need to see a line of configuration text in a config file. How can I view just the uncommented configuration file directives from squid.conf or httpd.conf file? How can I strip out comments and blank lines on a Linux or Unix-like system?
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File ) appeared first on nixCraft.
2024-09-21T12:33:38Z
2024-09-21T12:33:38Z
Vivek Gite
