alias ubuntu terminal code example
Example 1: set alias in ubuntu
Ctrl+Alt+T
gedit ~/.bashrc_alias
alias name_of_alias="command you want to execute"
alias name_of_another_alias="another command you want to execute"
Ctrl+S
source ~/.bashrc_alias
Example 2: how to add alias in linux
alias l="ls -al"
Example 3: linux permanent alias
printf "%s\n" "alias shh='sqlplus hfdora/hfdora@hfd1" >> ~/.bashrc
source ~/.bashrc
Example 4: create alias ubuntu
sudo nano ~/.bashrc
alias name_of_alias="your_command"
source ~/.bashrc