December 1999
Beginner
528 pages
11h 10m
English
The single quote is very similar to the double quote except it tells the shell to ignore any type of value evaluation; in other words, to treat everything inside the quotes as if it was disabling its special meaning – a case of what you type between the single quotes is what you get. Using the sample example as in the double quote:
$ GIRL='girl'
$ echo "The '$GIRL' did well"
The 'girl' did well
Read now
Unlock full access