Displaying value of current aliases

To display the value of each alias known to the shell enter the command:

   alias

To display the current value for a particular alias use the command:

   alias name_of_alias

For example to display the current value of the alias named print:

   alias print
   lpr \!* -Pps5

This informs you that print is an alias for the command lpr \!* -Pps5


[Home] [Search] [Index] This site maintained by unixhelp@ed.ac.uk