An alias allows you to create custom shortcuts for long or complicated commands.
Creating an Alias
- Open your terminal.
- To make a temporary alias, type
alias update='sudo apt update && sudo apt upgrade'. - To make it permanent, add the alias command to your
~/.bashrcfile.