Thanks, Actually i figured it out after doing some RTFM rm --help even showed how to do it. Theo Van Dinter wrote:
On Thu, Oct 13, 2005 at 08:25:24PM +0200, Karl Hiramoto wrote:
hey guys, this would seem rather basic. How to delete a file, but i have a problem. I want to delete a file called "--exclude". Any ideas?
Heh. I used to ask this on interviews. ;)
"rm -- --exclude"
# rm -i * rm: unrecognized option `--exclude'
the shell expanded * to include --exclude which reads as an option.
# rm -f "--exclude" rm: unrecognized option `--exclude'
ditto.
# rm -f \-\-exclude rm: unrecognized option `--exclude'
ditto.
------------------------------------------------------------------------
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- -- Karl Hiramoto <karl@hiramoto.org> US VOIP: (+1) 603.966.4448 Spain Casa (+34) 951.273.347 Spain Mobil (+34) 617.463.826 Yahoo_IM = karl_hiramoto jabber.org=karl_hiramoto