double quotes

Quotes that keep text together as one word but still let dollar expansions and backticks work inside.

In more detail

Inside double quotes a variable expands to its value without word splitting or globbing, which is exactly what you want almost every time. A backslash still escapes a dollar sign, a backtick, a double quote or another backslash.

Examples

echo "hello $user"
rm "$f"

Related terms

Taught in

References