Go to the previous, next section.
You can set abbreviations for use in csh
using the alias
command. To use the alias
command, include the following
in your `.cshrc' file:
alias abbrev fullcommand
For example, suppose you find yourself frequently typing ls -Fas.
You can set up an alias dir
for this command by including the
following in your `.cshrc' file:
alias dir "ls -Fas"
Adding this command to your `.cshrc' file causes the dir
command to exist for you every time you log in. Thereafter,
whenever you type dir, UNIX will act exactly as though you had
typed ls -Fas.
Go to the previous, next section.