Linux System Administration Tasks Performed Using Linux Commands
Linux commands are the fastest and easiest way to do System Administration tasks – as opposed to using Linux "point-and-click" GUI utilities.
Linux Commands Are Small Linux Binary Program Files
To "run" a Linux command, you type in the name of the command (and possibly some command options and parameters) and then press the Enter key.
When you run a Linux command, you are actually running a small program, commonly referred to as a "binary" (short for "Linux binary program file").
So, when you run the ls command, you are actually running a small program file named ls that is in a directory on the Linux hard disk!
Linux commands are in several of the "system" directories that have the names of bin and sbin. The bin stands for binary and sbin stands for superuser binary.
Linux Commands Training Tips: Superuser is another name for the main Linux System Administrator that has the user name (login name) of root.
Examples of Linux Commands Commonly Used for Linux System Administration
Linux command names are usually a shortened version of what a command is used for. Having short command names makes the commands fast and easy to run.
For example, the LInux mkdir command is used to m a k e a dir ectory to hold files and other directories.
Here are some more Linux command examples, and the name of the command (which is also the name of a binary program file) is shown at the left and the description is on the right:
- passwd – create or change the passw or d for a Linux user
- cp – is used to c o p y directories and files
- ls – l i s ts the contents of a directory (shows files and directories)
- mv – m o v e a directory or file