Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 12:30:38 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        Efren Bravo <efrenba@yahoo.es>
Cc:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: rm command problem
Message-ID:  <20061020123038.2dc602f3.wmoran@collaborativefusion.com>
In-Reply-To: <20061020162119.49001.qmail@web25221.mail.ukl.yahoo.com>
References:  <20061020162119.49001.qmail@web25221.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Efren Bravo <efrenba@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061020123038.2dc602f3.wmoran>