LinuxHow to Use the Linux whoami Command to Print the Current User ID

When working in a Linux terminal environment, determining which user account you are currently operating...

LinuxHow to Use the Linux zcat Command to Read Compressed Text Files

Log files on a busy Linux server can grow to massive sizes very quickly. To...

LinuxHow to Use Ubuntu udisksctl to Mount USB Drives from the Terminal

Mounting a USB flash drive or external hard drive in Ubuntu is usually an effortless...

LinuxHow to Use the Linux lsof Command to Find Deleted Files Held Open

In Linux, a common and highly frustrating scenario for system administrators occurs when a massive...

LinuxHow to Combine Linux head and tail Commands to View the Middle Lines of a File

When working with large text files, logs, or CSV data in a Linux terminal, it...

LinuxHow to Use the Linux tldr Command as a Faster Alternative to man Pages

The Linux man (manual) pages are the definitive source of documentation for every command-line utility....

LinuxHow to Use the dmidecode Command in Linux to Find Hardware Serial Numbers

Every piece of hardware inside a computer or server—the motherboard, the RAM modules, the CPU,...

LinuxHow to Use the Linux timeout Command to Kill Hanging Processes

When executing scripts or commands in a Linux terminal, it is a common requirement to...

LinuxHow to Use the Linux logname Command to Identify the Original Login User

When you are managing a Linux server, it is common practice to log in using...

LinuxHow to Enable and Configure UFW Firewall Logging on Ubuntu

The Uncomplicated Firewall (UFW) is the default firewall configuration tool for Ubuntu servers. Out of...

LinuxHow to Configure the Linux sysctl swappiness Value to Improve Memory Performance

When you run out of physical RAM on a Linux server, the kernel moves inactive...

LinuxHow to Use UFW Rate Limiting to Prevent SSH Brute Force Attacks on Ubuntu

One of the most common cyber attacks against Internet-facing Ubuntu servers is an SSH brute...

LinuxHow to Use needrestart to Identify Services Requiring a Restart After an Ubuntu Upgrade

After running a routine sudo apt upgrade on an Ubuntu server, you may have noticed...

LinuxHow to Use the Linux nsenter Command to Debug Running Container Namespaces

When debugging a containerised application, you often need to inspect the internal state of a...

LinuxHow to Automatically Monitor Server Uptime in Linux using a Bash Script

For system administrators managing Linux servers, ensuring high availability is a primary responsibility. While enterprise...

LinuxHow to Automatically Sort and Organize Files by Extension in Linux using a Bash Script

If you regularly download files or manage a shared directory on a Linux server, your...

LinuxHow to Automatically Start a Node.js Application on Ubuntu Boot using systemd

When deploying a Node.js application (like an Express web API or a Discord bot) to...

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.