Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Functions Up: Shell Variables, Aliases and Previous: Arrays   Contents


Aliases provide a simple mechanism for giving another name to a command.
alias mv="mv -i"
runs mv -i whenever the mv command is run. Typing alias gives a list of active aliases. Note that only the first word of each command can be replaced by the text of an alias.

Tim Love 2010-04-27