The Best Tech Newsletter Anywhere

Join 425,000 subscribers and get a daily digest of news, geek trivia, and our feature articles.

How to Use the history Command on Linux

Linux’s shell saves a history of the commands you run, and you can search it to repeat commands you’ve run in the past. Once you understand the Linux history command and how to use it, it can significantly boost your producti…

How to Create a Swap File on Linux

Add swap space to a Linux computer, or increase the swap space that’s already present, without messing about with partitions. We show you the easy way to tailor your swap space.

How to Use the free Command on Linux

The Linux free command displays how much of your computer’s memory is in use and how much is still available for programs to use. Its output can be confusing to the uninitiated, but we’ll show you how to understand it….

How to Use the stat Command on Linux

The Linux stat command shows you much more detail than ls does. Take a peek behind the curtain with this informative and configurable utility. We’ll show you how to use it.

How to Use the which Command on Linux

The Linux which command identifies the executable binary that launches when you issue a command to the shell. If you have different versions of the same program on your computer, you can use which to find out which one the sh…

How to Use the dmesg Command on Linux

The dmesg command lets you peer into the hidden world of the Linux startup processes. Review and monitor hardware device and driver messages from the kernel’s own ring buffer with “the fault finder’s friend.”…

How to Control sudo Access on Linux

The sudo command lets you run commands on Linux as though you were someone else, such as root. sudo also lets you control who can access root’s capabilities, with granularity. Give users full access or let them use a small…

How to Change Account Passwords on Linux

Passwords have been a keystone of account security for 60 years, predating Unix by nearly a decade. Learn how to use either the command line or the GNOME desktop environment to manage your passwords in Linux….

How to Create a Screencast on Linux

Want to make a screencast on Linux but feeling overwhelmed by the choice of tools and programs? We describe three ways to create a screencast. The quick and easy way, the hard-core and granular way, and the way we think is th…

How to Create Desktop Shortcuts on Ubuntu

Desktop icons should be simple, but they’re not on Ubuntu 18.04 LTS and newer releases like Ubuntu 19.10. Follow these easy steps to get desktop shortcuts for your favorite applications, just like on other operating systems a…

How to Use the Echo Command on Linux

The echo command is perfect for writing formatted text to the terminal window. And it doesn’t have to be static text. It can include shell variables, filenames, and directories. You can also redirect echo to create text files…

How to Write an fstab File on Linux

Adding a new hard drive or solid-state drive to your Linux computer? You’ll need to edit your fstab file. A lot of people find the very idea scary. Yes, it’s critical that you get it right, but armed with the right knowledge,…

How to Use the less Command on Linux

The less command lets you page through a text file, displaying a screenful of text each time. It seems like one of the simplest Linux commands at first glance, but there’s a lot more to less than meets the eye….
How-To Geek is where you turn when you want experts to explain technology. Since we launched in 2006, our articles have been read more than 1 billion times. Want to know more?