How to create an alias in linux

To create the alias use the following syntax:

alias name=value
alias name=’command’
alias name=’command var1 var2′
alias name=’/path/to/script’
alias name=’/path/to/script.sh var1′

To Remove an alias

unalias aliasname


 


Subscribe Now to stay updated.

Please fill in your email address to get most latest updates.