Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux alias

# you can create alias in bash or linux by using "alias" command like this;

======================
# [Temporary Alias]
alias la="ls -la"
======================
# now you can use "ls -la" command just by typing "la" but it will only work
# till the current session

=============================================================
# [Permanent Alias]
step 1. > open  ~/.bashrc file in your favourite editor
step 2. > paste/write your alias their
step 3. > save and its done
==============================================================
Source by www.thegeekdiary.com #
 
PREVIOUS NEXT
Tagged: #linux #alias
ADD COMMENT
Topic
Name
6+5 =