Horje
create alias ubuntu Code Example
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
Source: vitux.com
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 
linux permanent alias
printf "%s\n" "alias shh='sqlplus hfdora/hfdora@hfd1" >> ~/.bashrc
source ~/.bashrc # for immediate effect

#or add your alias to ~/.bashrc directly




Shell

Related
stop localhost server Code Example stop localhost server Code Example
shell script current time Code Example shell script current time Code Example
How to clone code from your github repository using token authentication Code Example How to clone code from your github repository using token authentication Code Example
oevrride localwith remote branch Code Example oevrride localwith remote branch Code Example
current date bash Code Example current date bash Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10