alias
ShellBeginner In simulator In real LinuxDefine a shortcut for a command
Name: alias
You can practise it right away in the simulator, and use it in real Linux mode too.
Description
alias is a shell builtin giving a command a short name, such as alias ll='ls -l'. Aliases expand only in interactive shells, not in scripts by default.
Aliases defined on the command line vanish with the terminal; put them in ~/.bashrc to keep them.
Syntax
alias [NAME[='VALUE']]...Common options
| name='cmd' | Define an alias; put it in ~/.bashrc to keep it |
| -p | List every alias (as with no arguments) |