how to delete a file?

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Mon Nov 19 07:27:57 PST 2007


> - -rw-r--r--  1 jos  jos    0 Nov 19 15:34 -----
> - -rw-r--r--  1 jos  jos  767 Nov 19 15:39 .cshrc
> drwx------  3 jos  jos  512 Nov 19 15:40 .imap
>
> How to delete the ----- file
> rm "-----" doesnot work (even with root access)


rm -- -----

will work. everything after -- is forced to be used as filenames not 
options


More information about the freebsd-questions mailing list