how to delete a file?

Jean-Pierre Trophardy xend.x.tph at dfgh.net
Mon Nov 19 08:19:52 PST 2007


On Mon, Nov 19, 2007 at 03:45:14PM +0100, Jack Raats wrote:
> 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

Hello Jack,

rm -- "----"
   ^^ (dont forget to add two of them)

-- 
Jean-Pierre


More information about the freebsd-questions mailing list