rm command problem

Alex Zbyslaw xfb52 at dial.pipex.com
Fri Oct 20 16:58:30 UTC 2006


Bill Moran wrote:

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

--Alex




More information about the freebsd-questions mailing list