Guidelines for quoting command arguments

Guidelines for quoting command arguments

Character Action

\\ prevent the shell from expanding any single special character.

' ' prevent the shell from expanding all special characters enclosed

   in this string except ! .

" " prevent the shell from expanding

   any enclosed special character
   except $, ` and !.

Top document