I've created a file named \;:$"\'
to test a software of mine. I ended up with an error, because I cannot delete the file property. I'm trying to find a precise character combination to remove it via rm
, but I cannot find a way.
rm \\;:$\"\\\'
rm: cannot remove `\\': No such file or directory
rm "\\"\;:$\"\\\'
rm: cannot remove `\\;:$"\\\'': No such file or directory
rm '\;:$"\'''
rm: cannot remove `\\;:$"\\': No such file or directory
(This last try killed me)
And many many other attempts. Helping hand needed!
rm -i ./*
which will prompt you to choose whether or not to delete each file in the directory. If you can type a more specific glob, do -- in this case I'd tryrm -i ./*:*
as:
is not meaningful to the shell in this context. – zwol Mar 24 '15 at 16:46