Ravi Sir's Cards › AWS
Single vs double quotes?
This interview card answers: Single vs double quotes? Single — nothing expands. Double — $var and $( ) expand. Try.
Read card text
What this card says
What it is
Single: nothing expands.
Why it matters
Double: $var and $( ) expand.
How / example
Try.
echo '$HOME' "$HOME"