Crie alias ubuntu
sudo nano ~/.bashrc
#at the end of the file, add your alias
alias name_of_alias="your_command"
#save the file
source ~/.bashrc
CodeHunter
sudo nano ~/.bashrc
#at the end of the file, add your alias
alias name_of_alias="your_command"
#save the file
source ~/.bashrc
printf "%s\n" "alias shh='sqlplus hfdora/hfdora@hfd1" >> ~/.bashrc
source ~/.bashrc # for immediate effect
#or add your alias to ~/.bashrc directly
# First of all open terminal
Ctrl + Alt + T
# Open ~/.bash_aliases by running below command (~/.bash_aliases not ~/.bash_alias)
gedit ~/.bash_aliases
# Add your alias and save
alias name_of_alias="command you want to execute"
#close terminal
then open terminal again and check