Up to main menu         Back to Dot Files         Next: Standard Input and Standard Output

Aliases

When you don't like to type the same long Unix command over and over, make an alias -- your own short command which you can define to mean whatever you want. These definitions can go in your .profile or .kshrc file (.cshrc file, if you use csh or tcsh rather that the Korn shell). A common alias is this:
 alias dir='ls -alF | more'
With this alias you could merely type ``dir'' and get the same effect as typing ``ls -alF | more''.

(For csh users; in the .cshrc file you would leave a blank space instead of the ``='' symbol in the alias command.)


Up to main menu         Back to Dot Files         Next: Standard Input and Standard Output
Bruce.Fast@Colorado.EDU