Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2007 15:10:05 -0000
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        "'Jack Raats'" <jack@jarasoft.net>, <freebsd-questions@freebsd.org>
Subject:   RE: how to delete a file?
Message-ID:  <00eb01c82abe$44545730$c5010c0a@SUNYA>
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
 

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org 
> [mailto:owner-freebsd-questions@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00eb01c82abe$44545730$c5010c0a>