create 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
create 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
set alias in ubuntu
# 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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us