I tried to create a file named "& goofy" by issuing the command "echo a > \&\ goofy" and it worked well
Then i tried to remove it by issuing "rm \&\ goofy" and it worked fine too
The problem is in the special-character interpretation which can be avoided by quoting the special character
I had a file that looked like:
{print }
I don't know how it got there, and I couldn't delete it. After reading this thread I tried:
rm -i *print*
which worked as advertised.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.