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

1 reply

Trackbacks & Pingbacks

  1. […] Linux Terminal commands for ninja's. […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *