# 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