This question already has an answer here:
- How to escape quotes in shell? 5 answers
We can a make a directory named
$"dollars"&<>\dogs if we surround it with single quotes like the following
However, what if I want to include a single quote in the directory name?
If I want my directory name to be
Then How can I use the single quoting method do this ?
I tried to do
mkdir '$"dollars"&<>/dogs'' But this didn't work for and also
mkdir ''$"dollars"&<>/dogs'' didn't work either.
I even tried to put a backslash before it, but there was no use !