# open terminal
Ctrl+Alt+T
# open ~/.bashrc_alias by running
gedit ~/.bashrc_alias # the file opened might be empty
# add you aliases and commands one alias in a line
alias name_of_alias="command you want to execute"
alias name_of_another_alias="another command you want to execute"
# save
Ctrl+S
# for immediate effect run in terminal
source ~/.bashrc_alias
sudo nano ~/.bashrc
#at the end of the file, add your alias
alias name_of_alias="your_command"
#save the file
source ~/.bashrc
# 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