Alias (command)

From FreeBSDwiki
Revision as of 04:16, 13 July 2005 by Smortex (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The alias command is used to create aliases.

The syntax if shell dependant :

B-Shell (sh, bash) :

alias l=ls
alias la='ls -A'

C-Shell (csh, tcsh) :

alias l ls
alias la 'ls -A'

See also: unalias

Personal tools