The Ultimate A To Z List of Linux Commands | Linux Command Line Reference

3 months ago 0

Short Bytes: Linux distributions can leverage an extensive range of commands to accomplish various tasks. For most Linux distros, Bash (bourne again shell) is the default command-line interface or shell used to execute these commands. In this A to Z list of Linux commands, we have tried to include as many commands as possible which can be run using bash.

In the past, we compiled the list of commands for the CMD command-line interpreter in Microsoft Windows, you can take a look at it below:

It’s a known fact that the command line interface (CLI), also known as the shell, is an integral part of the digital lives of various Linux users even when the graphical desktop environments on Linux systems have become quite user-friendly.

The first piece of text you see when you land on the shell is called prompt. It signifies system’s readiness to execute commands. The shell is accessed using the Terminal – a hardware device used to input data into, and displaying device from. However, the terminal application you see on your Linux systems is an emulator that replicates the jobs of a real-world terminal.

Many people often confuse the terms shell and terminal. Take the example of a car; the body of the car is the terminal and the dashboard can be considered as the shell where you perform various operations like acceleration, reverse, shifting, etc. The car responds to your actions performed using the dashboard. Similarly, the terminal displays responses for the commands executed using the shell or CLI.

The answer is, yes. If you try to run LS instead of ls, it would display an error. There are some advantages of using a case-sensitive command line. The computers that existed in earlier decades weren’t fast enough, it was favorable to compare identical strings instead of normalizing the upper and lower cases. This continued and became a habit, even though today’s machines are way faster and efficient. It also gives people the flexibility over the choice of the command name.

So, In this post, I have tried to compile a list of commands used in various Linux distributions. This has been possible with inputs from Ubuntu manual, SS64, and Linux Dev Center. As you might be knowing, some or many of these commands may not work on your distribution. Running those commands may require you to install additional packages or it’s just that the commands aren’t meant to work on your system.

The descriptions of these Linux commands are based on their manual pages. To access the man page:

man command_name

For eg: man cat

If you find any discrepancy, please feel free to contact for any correction.

So, this was the compilation of different Linux commands. I hope this A-Z Linux commands might help you in some way. I’ve spent weeks curating these Linux commands from various sources and testing them. If you find some command missing or some discrepency, please give your valuable feedback and help me make the overall list better. I’ll be looking forward to it.