TerminalHow to Display the Last 10 Lines of a File in Linux Using the tail Command

If a critical application crashes on your Linux server, the exact error code explaining why...

TerminalHow to Display the First 10 Lines of a File in Linux Using the head Command

If you are managing a Linux server and need to quickly inspect a massive system...

TerminalHow to Search for Text Inside a File in Linux Using the grep Command

If you are managing a Linux web server and a user complains that they cannot...

TerminalHow to Clear Your Linux Terminal Command History

If you press the “up” arrow on your keyboard while working in a Linux terminal,...

TerminalHow to Find Your Public IP Address in the Linux Terminal Using curl

If you are configuring a Linux web server or setting up a dynamic DNS service,...

TerminalHow to Kill an Unresponsive Program in Linux Using the killall Command

If you are running a graphical application on Linux—like the Firefox web browser or a...

TerminalHow to Keep a Linux Terminal Process Running After You Disconnect Using the nohup Command

If you launch a massive script to compile source code, download a gigantic database, or...

TerminalHow to Use the Linux wc Command to Count Lines, Words, and Characters in a File

If you have a massive log file or a long script and need to quickly...

TerminalHow to Create a Hard Link to a File in Linux Using the ln Command

When you create a standard shortcut to a file in Windows (or a symbolic link...

TerminalHow to Find Out How Much Free Disk Space You Have in Linux Using df

If you are attempting to download a massive software update or pull a giant database...

TerminalHow to Check if Your Linux System is Using UEFI or Legacy BIOS

When you are preparing to install a dual-boot operating system, configuring a low-level bootloader like...

TerminalHow to Find the IP Address of Your Default Gateway Route in Linux

When you are troubleshooting a complex networking issue in Linux—such as an inability to reach...

TerminalHow to Clear Your Linux Terminal Screen Completely

When you are deeply engrossed in compiling source code or tailing a massive server log...

TerminalHow to Find the Total Size of a Directory in Linux Using the du Command

When you use the standard ls -l command in the Linux terminal, it accurately displays...

TerminalHow to Find Out Which Linux Shell You Are Currently Using

When you open a terminal window in Linux, you are interacting with a program called...

TerminalHow to Find the Number of Cores in Your Linux CPU Using nproc

When compiling software from source code or configuring a hypervisor for virtual machines, you need...

TerminalHow to Generate a Random Password in the Linux Terminal

When creating a new user account, setting up a database, or configuring a Wi-Fi access...

Get the best tech tips delivered straight to your inbox.

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