Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

set alias in ubuntu

# 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
Comment

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
Comment

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 
Comment

PREVIOUS NEXT
Code Example
Shell :: git pull hard 
Shell :: install from github pip 
Shell :: check full memory details 
Shell :: install git flow 
Shell :: install openssl 1.0 ubuntu 20.04 
Shell :: how to stop apache2 service in kali linux 
Shell :: uninstall edb postgres mac 
Shell :: finding mac address on ubuntu 
Shell :: bash mysql query count get only number 
Shell :: mac list used port 
Shell :: change last commit date 
Shell :: install eslint 
Shell :: pm2 next /usr/bin/yarn: line 3: /bin: Is a directory 
Shell :: microstack change horizon port 
Shell :: Verificação de acesso de escrita [/srv/moodle/lib/editor/atto/plugins] Instalação abortada devido a falha de validação 
Shell :: install mariadb ubuntu 20.04 
Shell :: ubuntu activate venv 
Shell :: bash replace multiple patterns 
Shell :: convert pem to crt 
Shell :: rpi sudo file browser 
Shell :: download filezilla for ubuntu 
Shell :: how to start a python project 
Shell :: only show first lines linux 
Shell :: mysql inline pass cli 
Shell :: get last modified date pdf online 
Shell :: cisco save running config 
Shell :: php enable module 
Shell :: firebase deploy hosting only command 
Shell :: telegram desktop for linux 
Shell :: kill port ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =