Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2007 16:23:06 +0100
From:      Jean-Pierre Trophardy <xend.x.tph@dfgh.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: how to delete a file?
Message-ID:  <20071119152306.GA822@assurancetourix.theGauls.fr>
In-Reply-To: <002f01c82aba$cb5f6750$4001a8c0@jarasoft.net>
References:  <002f01c82aba$cb5f6750$4001a8c0@jarasoft.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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