Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux preserve alias

Edit the ~/.bash_aliases or ~/.bashrc (recommended) file using a text editor: vi ~/.bash_aliases. # or # ...
Append your bash alias.
For example append: alias update='sudo yum update'
Save and close the file.
Activate alias by typing the following source command: source ~/.bash_aliases.
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #linux #preserve #alias
ADD COMMENT
Topic
Name
7+7 =