Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to create alias in linux

# 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: #create #alias #linux
ADD COMMENT
Topic
Name
6+3 =