Tag: commands

How to Use Sed to Find and Replace a String in a File

September 22, 2022

The sed command is one of the oldest and most useful command-line tools for text transformation. Learn how to utilize the most commonly used feature of sed: finding and replacing a string in a file.

Read more

Linux: Add a Directory to PATH


PATH is an environmental variable that shows Linux where to search for executables. Read this guide and learn how to add a directory to PATH.

Read more

How to Save a File in Vi / Vim & Exit


Vim (Vi IMproved) is a well-known, open-source text editor for Linux or Unix systems. It is a powerful and stable tool for editing and writing text, both in the command-line interface and as an independent application in a GUI. Take the first step by learning some of the basic commands and building up from there. Follow this guide and learn how to open, save and exit a file in Vi/Vim.

Read more

gawk Linux Command With Examples

September 15, 2022

The gawk command is a powerful text-processing and data-manipulating tool. Read this guide to learn how to use gawk.

Read more

Linux egrep Command With Examples

September 8, 2022

The egrep command searches for patterns or regular expressions in files and directories. Read this tutorial to master the egrep command.

Read more

useradd vs. adduser: What Are the Differences?

September 1, 2022

Linux provides two commands to add users to the system: useradd and adduser. Learn about the difference between these two commands and when to use which.

Read more

Linux comm Command with Examples

August 31, 2022

The comm command allows you to compare two files line by line. Read this tutorial to learn how to use the comm command.

Read more

Linux make Command with Examples

August 25, 2022

The make command is a widely used Linux tool. Makefiles and make cut down the time and effort needed to compile files. Read this guide to learn how to use make.

Read more

fuser Linux Command With Examples

August 15, 2022

The fuser command is a Linux process management utility that identifies running processes in the system. Read this tutorial to learn how to use the fuser command effectively.

Read more

lsof Command in Linux with Examples

August 4, 2022

lsof is a practical sysadmin tool that prints a list of all open files. Read this guide to learn how to use the lsof command.

Read more