This question already has an answer here:
I'm used to type strings with quotation marks, but from now and then when I surf through config files and recommendations, I see apostrophes being used.
I often copy apostrophe things into my config files and substitute it with my quotation marks so that the code fits together.
But what is their difference? (I mostly target this for bash. If other Linux-based scripting does it different, that would be an extra.)
echo "Hello World!" and
echo 'Hello World!'
Has it something to do that I maybe can't use (formatted) variables if I use one or the other, or is it simply personal preference?