From: Rick von Richter (rickv@mwh.com)
Date: Tue Aug 26 2003 - 14:32:02 EDT
There has to be something simple I am missing here. I have a file named
"-file" (without the quotes obviously) that I cannot delete because the
shell interprets the leading dash.
e.g. I try;
# rm \-file
rm: illegal option -- p
rm: illegal option -- o
rm: illegal option -- c
usage: rm [-fiRr] file ...
I get the same thing with "-file" or '-file'
How can I get rid of this? I thought I may be able to copy the contents
of the diectory (subdirs and all, excluding the probelm file, then
delete the parent directory but this is a 24/7 machine and I know there
has to be a way otherwise.
TIAWS
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rick von Richter IS Production Support Manager Voice: 858-831-2222 rickv@mwh.com Maintenance Warehouse/Home Depot Fax: 858-831-2221 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The box says: Win98, WinNT or BETTER. That's why I installed Linux. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:59 EDT