alias name='command'Arguments explained
- name is the alias name.
- command is the replacement text.
- No arguments lists current aliases.
Common examples
alias rm='rm -i'Makes rm ask before deletion in the current shell.
aliasShows aliases defined in the shell.
| Field | Details |
|---|---|
| Command | alias |
| Category | Shell and Environment |
| Primary use | Creates shell command shortcuts. |
| Syntax | alias name='command' |