How to Manage the Priority of I/O Processes in Linux

Ever copied or moved tens or hundreds of gigabytes of data? If you did, you surely noticed that the system becomes much less responsive during that time. On Linux you can avoid this with the help of the ionice command. What Is I/O Priority? I/O is short for input/output. There are many types of I/O devices, but in this case it’s about storage devices. Each process that wants to read or write data to such a device is assigned a scheduling class and priority number (or “nice” value). This applies on Linux to filesystems such as ext4. Other filesystems, such as ZFS, may implement slightly… Read more

How to Set and List Environment Variables in Linux

It used to be that to use Linux you needed to immediately familiarize yourself with the command line. Desktop environments like GNOME and KDE have made using Linux much easier for beginners. You could use Linux for a long time without knowing a single terminal command. Eventually, though, you’ll want to do something that will require use of the command line, and once you dive in here, you’ll eventually need to know about environment variables. This might seem like an arcane term, but environment variables are easy to understand. Related: 17 Fun Linux Commands to Run in the Terminal… Read more

How to Manage and Restore Tmux Sessions in Linux

Tmux is a terminal multiplexer that comes stocked with a wide range of useful features and is backed by a surprising number of community-made plugins. Terminal multiplexers like tmux and Screen give your terminal window super productivity powers, allowing you to open multiple sessions in tabs and split screens. Combined with multiple terminal tools and session saving, you can also restore Tmux sessions after a hard reboot. Related: How to Share a Terminal Session with Friends Installing tmux Getting tmux ready and running on your system is relatively simple if you are using a Linux distribution. For Ubuntu, this means summoning apt from your terminal… Read more

New Firefox Update to Reduce Power Usage Up to Three Times on macOS

If you’re using a Macbook, one factor that is very important to you is power usage. No one likes to be constantly worrying about their battery running low, and there are just certain apps you run that seem to always be burning up the power. If you use Safari, Google Chrome, or another browser, however, you may want to consider using Firefox in the future. An upcoming update for the browser will reduce power consumption for macOS users up to three times. Firefox Update This has always been a problem for Firefox users, especially… Read more

Posted by / September 3, 2019 / Posted in Linux

How to Sync Linux Time with NTP Server

Computer clocks are not perfect. Given a few days, weeks or months, they drift and stop showing the real time. Simply put, after they drift, they may show it’s “10:30” when in fact it’s “10:33.” It was common practice on older computers to periodically readjust the computer clock manually. But, after Internet connections became ubiquitous, modern operating systems started to adjust the clock automatically with the help of NTP servers. What Is NTP? NTP is an acronym for Network Time Protocol. It’s an algorithm designed to synchronize computer clocks through network connections and keep them accurate. How to Enable Time Synchronization on Linux Luckily, most… Read more