Characters with special meaning for the shell

Characters with special meaning for the shell

The characters

   ;  &  ( )  |  ^  <  >  ~  %  { }
   $  #   '  "  \  @@  *  ?  [ ]  -  !
   Newline (a <Return>)
   Space   (a <Space>)
   Tab	   (a <Tab>)

are all shell metacharacters. To the shell, they represent something other than the character or symbol that they are.

You must quote any command argument or regular expression containing one or more of these, so that it is passed to the command unchanged.


[Home] [Search] [Index] This site maintained by unixhelp@math.rutgers.edu
This page was last updated on September 05, 2006 at 10:29 am and is maintained by webmaster@math.rutgers.edu.
For questions regarding courses and/or special permission, please contact mclausen@math.rutgers.edu.
For questions or comments about this site, please contact help@math.rutgers.edu.
© 2012 Rutgers, The State University of New Jersey. All rights reserved.