This article covers the procedure of creating and using bash aliases. Running long and complex commands is usually tedious and time-consuming. Aliases provide much-needed relief by providing shortcuts to those complex commands.
These shortcuts can easily be called on the terminal and yield the same result as the complex command.
This tutorial shows how to create and add aliases permanently to your bash shell on Linux and Unix-like systems.
To Create Bash Aliases
Creating aliases in bash is very straight forward.
The syntax is as follows:
An alias declaration starts with the alias keyword followed by the alias name, an equal sign and the command you want to run when you type the alias.