The alias command can be useful if you want to create a ‘shortcut’ to a command.
The format is alias name=’command’
This will create an alias called home which will put you in the /home/dave/public_html directory whenever you type home at the command prompt. You can alias any command you want, and include options for the command.
This will create an alias called list, which will use the ls command to print a long-style listing of all files in the current directory (the -l gives a long-style list, and the -a shows all files – including hidden files).
(Find out more about the ls command)
To see a list of aliases set up on your linux box, just type alias at the prompt.
You can see there are a few already set up on a default Redhat 9 installation.
To remove an alias, use the unalias command.
rianto utomo bole nyontek dari http://www.mediacollege.com/linux/command/alias.html