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, [~]# alias
alias attrib=’chmod’
alias chdir=’cd’
alias copy=’cp’
alias d=’dir’

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

To remove the alias, [~]# unalias bb

Published by

Mick Genie

Mick Genie is the founder of and working at ExaBytes Network Sdn Bhd and WPWebHost web host company. He is expertise in Windows and Linux environment especially web hosting related information, tips and trick as well as the IT Information.