Linux Terminal commands for ninja’s

brase{} expansion us used  for automatic expansion of listings

e.g., #echo Number_{1..5}

0/P: Number_1 Number_2 Number_3 Number_4 Number_5

Execution of command with ECHO

#echo `ls`

o/p: it will execute the command “ls” lists all files

printing the current user name

#echo $USER
o/p:root
#printenv | less
o/p is :

note: here we can use each environment variable for parameter passing

e.g., #echo $SHELL
#echo $MAIL so..on

About these ads

2 thoughts on “Linux Terminal commands for ninja’s

  1. Pingback: Linux Terminal commands for ninja’s | juiceforu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s