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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>