Back
By mistake I created a file which a name using a backslash \:
>ls -ltotal 0-rw-rw---- 1 user group 0 Jul 3 21:34 \
>ls -l
total 0
-rw-rw---- 1 user group 0 Jul 3 21:34 \
How to delete it?
To pass a \ in the argument to the command, you just need to "quote" or "escape" it, you can do it by wrapping it with single-quotes:
rm '\'
or by prefixing it with another backslash:
rm \\
To know about Linux join the Linux training
31k questions
32.8k answers
501 comments
693 users