unalias command ...
alias creates, redefines, or prints alias definitions. An alias defines the string that is to replace a command string when it occurs in input. An alias, once defined, is recognized by the current shell and all its subshells that are subsequently created.
If string contains spaces, these must be quoted using a backslash ``\'' or the entire string must be enclosed in quotes.
If only the name of a command is specified, alias writes the alias definition (if any) for that command to the standard output.
When invoked without any arguments, alias prints all currently defined aliases.
unalias removes the definitions for all specified commands for the current shell. The -a option causes all alias definitions to be removed.
To invoke a command without it being aliased, escape it using a backslash ``\'' or quotes.
Invoke ls without the alias:
Create a command to invoke the previous entry in the
history list file (note the escaped space before -s):
alias r=fc\ -s
so that it always uses 1KB units for its output:
alias du="du -k"
so that it can handle an argument that has an alias:
alias nohup='nohup '
Display all aliases:
Display the alias for ls:
Remove the aliases for nohup and du:
unalias nohup du
Remove all aliases for the current shell:
Remove all aliases for the current shell, assuming that an alias
exists for unalias:
There is no aliasing mechanism available in sh(C).
The alias and unalias commands built into csh(C) differ from those described here.
ISO/IEC DIS 99452:1992, Information technology Portable Operating System Interface (POSIX) Part 2: Shell and Utilities (IEEE Std 1003.21992);
X/Open CAE Specification, Commands and Utilities, Issue 4, 1992.