single quotes

Quotes that make every character between them literal, so nothing inside is expanded.

In more detail

Use them for text that must arrive untouched, such as sed and awk programs or a grep pattern. The one thing you cannot put inside them is a single quote; end the quote, add an escaped quote, and start again.

Examples

echo 'hello $user'
echo 'stop'\''and go'

Related terms

Taught in

References