Saturday, April 30, 2011

double-quote,single-quote,back-tik,back-slash in shell

double-quote("):
Removes special meaning of    '  ,  <  ,  >  ,  #  ,  *  ,  ?  ,  &  , |  , ; , ( , ) , [ , ]  , ^  ,  blank spaces  ,  newlines      and tabs
and $ , `  ,  and \ are interpreted.


single-quote('):

Removes the special meaning same as " but also the special meaning of  $ , `  ,  and \

back-slash(\):

removes the special meaning of charater following ;
inside double quotes - it removes the special meaning of
$ . " , ` , and \


back-tik(`):

causes output command to be executed and output to be inserted at that point.


No comments:

Post a Comment