Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 17:58:26 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Efren Bravo <efrenba@yahoo.es>
Cc:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: rm command problem
Message-ID:  <45390032.8000909@dial.pipex.com>
In-Reply-To: <20061020123038.2dc602f3.wmoran@collaborativefusion.com>
References:  <20061020162119.49001.qmail@web25221.mail.ukl.yahoo.com> <20061020123038.2dc602f3.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Moran wrote:

>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'
>
>  
>
Or even rm ./-exclude

--Alex





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