rm command problem

Bill Moran wmoran at collaborativefusion.com
Fri Oct 20 16:30:45 UTC 2006


In response to Efren Bravo <efrenba at yahoo.es>:

> Hi,
> 
> Accidentally I've created a file called -exclude
> and now I cann't delete it.
> 
> I tried with:
> 
> rm -exclude and rm *exclude but it returns this:
> 
> rm: illegal option -- -
> usage: rm [-f | -i] [-dIPRrvW] file ...
>        unlink file
> 
> How can I delete it?

rm \-exclude or rm '-exclude'

-- 
Bill Moran
Collaborative Fusion Inc.


More information about the freebsd-questions mailing list