Difference between single and double quotes in bash.

Content inside single quotes is interpreted literally without string interpolation, while content inside double quotes is subject to string interpolation. See:

bash-3.2$ echo '$a'
$a
bash-3.2$ echo "$a"
10

Source