alias
Creates aliases -- words that are replaced by a command string.
Aliases expire with the current shell session unless defined in the shell's configuration file, e.g. `~/.bashrc`.
alias
alias {word}="{command}"
- View the command associated to a given alias:
alias {word}
- Remove an aliased command:
unalias {word}
- Turn `rm` into an interactive command:
alias {rm}="{rm --interactive}"
- Create `la` as a shortcut for `ls --all`:
alias {la}="{ls --all}"
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).