how to delete a file?

Byung-Hee HWANG bh at izb.knu.ac.kr
Mon Nov 19 14:15:34 PST 2007


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



More information about the freebsd-questions mailing list