Making a Linux Command Alias
Hello Linux User! This Simple Guide Shows You Step-by-step How-to Create and Enable a Shell Command Line User’s Alias on GNU/Linux Systems.
An Alias is meant to Quickly Executing a Command by simply Calling a synthetic Label or Name.
So every time you “call” the Alias Name on a Terminal window your Action will Correspond to the Sequence of Commands Linked to the Label.
This is an essential Zen guide that simply seeks to bring each user to the target in the easiest and quickest way.
Open a Shell Terminal emulator window
(Press “Enter” to Execute Commands)
Edit the Bash User’s Configuration File
Append the Alias Command
Without Spaces between the “=” like here above…
alias htdocs="cd /opt/local/apache2/htdocs"
Will Correspond to:
Enabling the New Alias