For filenames, I know that you have to use either a double quotes or a backslash to include a space in your file name.
Like mkdir "I like coffee"
is the same as mkdir I\ like\ coffee
Now when you try to include a $ in your filename, you have to use a backslash
Like mkdir \$dollar
I wonder what other characters other than the space and the dollar sign that I have to use escape characters with when naming my files ?
I found the ? and the * works normal so I was wondering what other characters are like that.
-
. Try for example to create such file:touch -
,touch '-'
,touch -- -
,touch \-
... nothing works, you needtouch ./-
.\0
and/
-- anything else is allowed.