Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2007 07:15:20 +0900
From:      Byung-Hee HWANG <bh@izb.knu.ac.kr>
To:        Jack Raats <jack@jarasoft.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to delete a file?
Message-ID:  <1195510520.1175.2.camel@jihad.izb.knu.ac.kr>
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, 2007-11-19 at 15:45 +0100, Jack Raats wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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)

% rm ./"-----"

it works for me.

respect,
bh

-- 
"I'll see you at my father's house. Be sure you bring Paulie."
		-- Santino Corleone, "Chapter 2", page 84




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