Re: to delete file "q!"
From: Bryan Dongray (altnews_at_dongrays.com)
Date: Thu, 11 Aug 2005 01:16:40 GMT
> Something else please
It's likely it was created through using vi and ending the session with:
so my guess is there are no hidden characters in the filename (like spaces).
to see if there are.
Ways to remove such a file:
as ! should not be a special character
But if it is:
Using a shell variable might mask the specialness via the shell:
How about using a known shell:
sh -c "/bin/rm 'q!'"
How about using a totally different program:
perl -e 'unlink "q!";'
I'm sure this can be done in even more inventive ways.