Linux Command: alias

Some times, you will found out your used server having different setting in term of the command used from the other server such as “ls” is having different color, etc.

To actually understand what is the shortcut set from your server, you may use Linux command named alias.

To show previous set shortcut,
[email protected] [~]# alias
alias attrib=’chmod’
alias chdir=’cd’
alias copy=’cp’
alias d=’dir’

To set new alias,
[email protected] [~]# alias bb=’ps aux | more’

To remove the alias,
[email protected] [~]# unalias bb