Knowledge about Linux Command Line (CLI), better known as shell, commands is a key skill when using Linux. The more commands you know the easier Linux gets. Here is a list of some of the most helpful Linux commands (that you may or may not know) that will help you in Linux.
The locate command which you can also call the find command enables you to locate/find your files. You just need to enter the name or part of the name of your file and the command will search and show all the files containing those words.
You can use the mv command or the move command to move a file, multiple files or directories to another place. It is like dragging files from one place and dropping them to some other place on the PC.
You can use the man command or the manual command can be used to get information about other commands. For example, you can use the man command to get information about the mv command (such as how to use it and what it does).
You can use the diff or the difference command to compare two text files. The command will then work out their differences and display them.
mkdir and rmdir
The mkdir (make directory) and rmdir (remove directory) commands are two separate commands and do exactly what their name suggest. The mkdir command creates new directories while you can use the rmdir command to remove directories.
The alias command is a command that helps save time. You can use this command to assign a name to a command or a series of command. You can later use this name to execute the command or series of the command to which the name belongs. This command also helps you save time as you can use a short name instead of typing long commands.
This was our list of some of the most helpful Linux commands. We hope that you would remember these simple yet useful commands and they will help you make Linux easier and more efficient.