I accidently create a "\" file into my linux how to revert it. I tried rm \ (as it's the escaping character it didn't work), rm '\' and rm \\ nothing worked.
I accidently create a "\" file into my linux how to revert it. I tried rm \ (as it's the escaping character it didn't work), rm '\' and rm \\ nothing worked.
As you said, you can't remove the file "\" directory, since \ is used as the shell escape character.
So instead, use the
\
character to escape the file/directory named "\":Here's my test: