By mistake I made a file with the name \
. How do you delete something like that? I've tried rm --\ rm "\" rm -- -\
and nothing seems to work. I bet it's so simple but I'm stumbled - any suggestions?
Asked
Active
Viewed 476 times
1 Answers
1
I'm assuming it's a single character, just a backslash.
try:
rm -- \\
Also, at worst, use tab completion. bash/zsh will put in escape characters where necessary.

etherfish
- 1,757
- 10
- 12
-
thanks man. How could I be so stupid lol I knew it was simple. thanks I got it – secure212 Feb 13 '14 at 17:29