We've already seen how important quoting and escaping is in Bash, and this is due to the fact that some characters are not just what they look like, but they hold some special meaning for the shell, which interprets them whenever it meets them. But sometimes, we want these characters for just what they are; we want to keep whitespaces in a string and not split it up in words, or we just want to see if there is a * file name. Or we want to echo a double quote and not start a quote. So, we quote and escape to preserve what we see from what the shell could think it is.
Quoting and escaping
The backslash (\)
The backslash is the character we use to escape all the others. Great. What does it mean? Simply put, each character...