Did You Know? man is the Linux’s manual pager. Each page argument given to man is normally the name of a program, utility or function. The manual page associated with each of these arguments is then found and displayed. A section, if provided, will direct man to look only in that section of the manual. The default action is to search in all of the available sections, following a pre-defined order and to show only the first page found, even if page exists in several sections.
alias - create names or abbreviations for commands
2. Examples
Can be used to correct our typos on bash command line. Create sl command to list directory:
$ alias sl=ls
create new customized commands:
$ alias estcon="netstat -ant | grep ESTABLISHED"
or abbreviations:
$ alias ls="ls --file-type"
NOTE: to unalias your commands you can use unalias command.
$ unalias ls
However creation of aliases with alias command is temporary just for current terminal session. To make alias permanent consult ~/.bashrc file. To make changes pernament edit your ~/.bashrc file and add line similar to this: