- The shell substitutes variable names and wildmasks before
executing the command - sometimes this is undesirable.
- To avoid substitutions either
- prefix the special character (wildmask or
$ sign) with a backslash: \
- put the desired string in single quotes:
'
- Examples:
$ var1=im1.nii.gz
$ echo $var1
  im1.nii.gz
$ echo \$var1
  $var1
$ echo '$var1'
  $var1
|
|