What’s the Difference Between Single and Double Quotes in the Bash Shell?
Enclosing text in quotation marks is fairly standard practice on the command line, especially when dealing with files that have spaces in the names, but how do you know whether to use single or double quotes? Let’s take a look at the difference, and when you should use one vs the other.