alias definitation on bash and tcsh
2008/11/13 17:54:13
under bash environment:
alias target= 'cd ....'
to install the alias when login, put the alias desinition in .bashrc or .bash_profile or put the alias in a file,add execution right to it and execute it in .bashrc
under tcsh:
alias target 'command'
to install the alias when login, put the alias desinition in .cshrc or put the alias in a file,no need to add execution right to it and add the file as the source in .cshrc:
source $HOME/alias/.alias