The Best Tech Newsletter Anywhere

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

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….

The Best Ways to Secure Your SSH Server

Secure your Linux system’s SSH connection to protect your system and data. System administrators and home users alike need to harden and secure internet-facing computers, but SSH can be complicated. Here are ten easy quick-wi…

How to Use the mkfs Command on Linux

You must create a file system before you can use any data storage device connected to a Linux computer. Learn how to use mkfs and other utilities to do just that for all sorts of file systems. We show you how….

Did Linux Kill Commercial Unix?

Sales of commercial Unix have fallen off a cliff. There has to be something behind this dramatic decline. Has Linux killed its ancestor by becoming a perfectly viable replacement, like an operating system version of Invasion …

How to Work with Variables in Bash

Variables are vital if you want to write scripts and understand what that code you’re about to cut and paste from the web will do to your Linux computer. We’ll get you started!

How to Use the chroot Command on Linux

The chroot command can send you to jail, keep your development or test environments isolated, or just improve your system’s security. We show you the easiest way to use it.

How to Copy and Paste Text at Linux’s Bash Shell

Want to copy and paste at the command line of the Bash shell? We’ll show you multiple techniques whether you favor the keyboard or the mouse. These work whether you’re at a graphical desktop or at a traditional text-based TTY…

15 Special Characters You Need to Know for Bash

If you want to master the Bash shell on Linux, macOS, or another UNIX-like system, special characters (like ~, *, |, and >) are critical. We’ll help you unravel these cryptic Linux command sequences and become a hero of hi…

How to Use the finger Command on Linux

Knowing who is using your Linux or Unix-like system is a fundamental part of managing it. Pointing at someone might be considered rude, but using your finger can still be enlightening.

How to Use the chgrp Command on Linux

The chgrp command on Linux changes the group ownership of a file or directory. Why use it instead of chown ? Sometimes a Swiss Army knife is great, but when you really need a scalpel, only a scalpel will do….

How to Use Pipes on Linux

Use Linux pipes to choreograph how command-line utilities collaborate. Simplify complex processes and boost your productivity by harnessing a collection of standalone commands and turning them into a single-minded team. We sh…

How to Use the chmod Command on Linux

Control who can access files, search directories, and run scripts using the Linux’s chmod command. This command modifies Linux file permissions, which look complicated at first glance but are actually pretty simple once you k…

How to Add a GUI to Linux Shell Scripts

You can use GUI windows, sliders, radio buttons, progress bars, and more in your Bash scripts. Learn how to use the zenity toolkit and give your Bash scripts a facelift. We’ll show you how.
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?