Re: How to delete a file called "-gzip"?
>>>>> "Warren" == Warren Turkal <wturkal@cbu.edu> writes:
Warren> You can also try rm '-gzip' the ' are single quotes
Warren> --Warren
It won't work. The shell will strip the quotes, and the command line
to rm is exactly the same.
eg:
snoopy:~# rm '--help'
Usage: rm [OPTION]... FILE...
Remove (unlink) the FILE(s).
-d, --directory unlink directory, even if non-empty (super-user only)
-f, --force ignore nonexistent files, never prompt
-i, --interactive prompt before any removal
-r, -R, --recursive remove the contents of directories recursively
-v, --verbose explain what is being done
--help display this help and exit
--version output version information and exit
Report bugs to <bug-fileutils@gnu.org>.
--
Brian May <bam@debian.org>
Reply to: