May 23, 2021 UNIX Getting started
UNIX commands have many optional and mandatory options, and it is common to forget the full syntax of these commands.
Because no one can remember each UNIX command and all its options, users can get online help in the earliest version of UNIX.
The UNIX version of the help file is called Manpage. If you know the name of all commands, but you don't know how to use them, Manpage can help you every step of the way.
When the UNIX system is working, here are simple instructions for getting the details of the UNIX command
$man command
You now imagine any command and you need help with this command.
Suppose you want to
pwd
command is used, then you only need to use the following command:
$man pwd
The above command will open a help that will give you complete
pwd
command.
Try your own command prompts to get more details.
With the following commands, you can get more detailed
man
command:
$man man
Man Page is usually divided into different sections, and the division is different because of the different preferences of the Man Page authors. Here are some common parts:
Part | Describe |
Name | The name of the command |
Describe | generally describe the command and his role |
Summary | The parameters used by the general command |
Options | Describes all the parameters and options of the command |
See also | Lists other commands or similar functions that are directly related to the command in Manpage |
Loopholes | Describes a problem or error that exists in a command or output |
Example | Common usage examples that let the reader know how to use commands. |
Author | The author of Manpage or other commands. |
So finally, I want to say that Man page is a critical resource when you need to use the UNIX command or its system file information.
The following links give a list of the most important and frequently used UNIX Shell commands.
If you don't know how to use commands, you can use Man page to get the full details of the commands.