Problem removing a file

Darryl P. Wagoner dpw at lemuria.usi.com
Sat Feb 4 21:32:46 AEST 1989


In article <589 at icus.islp.ny.us> lenny at icus.islp.ny.us (Lenny Tropiano) writes:
}In article <695 at flatline.UUCP> erict at flatline.UUCP (j eric townsend) writes:
}|>
}|>Ok, I've really done it now.  I've created, in my home directory,
}|>a file by the name of:
}|>-ef
}|>
}|>Any hints/suggestions?
}
}Yeah, I do ... :-)
}
}Rename the file with "mv(1)", since that doesn't have any argument switches,
}it won't complain about the "-ef", then remove it.
}
}$ mv -ef junk
}$ rm junk
}
}-Lenny


Also you can do a rm ./-ef.  That will kept the - from being picked up 
as an option.-- 
Darryl Wagoner		(home) dpw at lemuria.uucp or wagoner at imokay.dec.com
Digital Equipment Corp; 	OS/2, Just say No!
Boxboro, Ma  			(w) 508-264-5586
UUCP:  virgin!lemuria!dpw



More information about the Unix-pc.general mailing list