Shell

Aliases

Aliases = Command Shortcuts

The alias shell command allows to define abbreviations for long commands.

If you use a particular command option combination frequently, introducing an alias for it will save a lot of typing, for example:

  • alias ll ‘ls -alhF’
  • alias cp ‘\cp -i’
  • alias less ‘\less -MQige’
  • alias RM ‘\rm -rf’

The above is the syntax for tcsh, for bash it is the following:

alias ll=‘ls -alhF’

If you wish to make those aliases permanent, you need to put them into the tcsh resource file ~/.tcshrc or the bash resource file ~/.bashrc .

Completion | | Variables

Options: