How to load aliases at login
Aliases allow you to assign to long or complex commands "nicknames" or
shorter equivalents that are easier to remember and to type. Another section
explains the alias command itself in more
detail.
To load aliases at startup, use your favorite text editor (such as TED
or Pico) to place the alias definition in your ".mycshrc" file, one alias
per line. If you do not have a ".mycshrc" file in your home directory,
create one. Aliases defined in this file will be loaded for every terminal
window (Xterm window) you open. The aliases will be active until you remove
them from the file and log in again, or until you use the unalias command.
After you place the alias commands in your ".mycshrc" file,
you can use the source command to activate all the commands
(aliases included) in the file. Just type
source .mycshrc
Here is a list of some possible aliases you could load automatically using
your ".mycshrc" file.
alias nixon 'zwrite rmnix'
alias elvis 'zwrite elvis'
alias xl xloadimage
alias dir 'ls -alFs | more'
alias l 'ls -CF'
alias cfe 'cd /afs/eos.ncsu.edu/info/eos_info/misc_info/config_examples'
alias windowprint 'xwd -frame | xpr -device ps | lpr'
alias zrun '/usr/athena/etc/zwgc'
Last modified
June 15, 2005
by cawalker
|