Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2007 16:27:49 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Jack Raats <jack@jarasoft.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to delete a file?
Message-ID:  <20071119162709.H1476@wojtek.tensor.gdynia.pl>
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
> - -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



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