A Bash alias allows you to simplify long commands, so that you only have to type a few characters rather than a lengthy command and its options.
Computer wide aliases go in /etc/bash/bashrc and user wide alises go in ~/.bashrc.
alias alias_name='command to run'
Examples
Action | Alias | Usage |
---|---|---|
Open a file with gvim in a new tab | alias gv='gvim --remote-tab-silent' | gv [filename] |