how to delete a file?
Barry Byrne
barry.byrne at wbtsystems.com
Mon Nov 19 07:10:32 PST 2007
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Jack Raats
> Due to an error I made the following file
>
> - -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)
Jack:
rm -- "-----"
should do the trick.
- barry
More information about the freebsd-questions
mailing list