From owner-freebsd-questions Fri Dec 1 3:25:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from boat.mail.pipex.net (our.mail.pipex.net [158.43.128.75]) by hub.freebsd.org (Postfix) with SMTP id 2F71537B400 for ; Fri, 1 Dec 2000 03:25:42 -0800 (PST) Received: (qmail 14624 invoked from network); 1 Dec 2000 11:25:40 -0000 Received: from mailhost.puck.pipex.net (HELO mailhost.uk.internal) (194.130.147.54) by our.mail.pipex.net with SMTP; 1 Dec 2000 11:25:40 -0000 Received: (qmail 27155 invoked from network); 1 Dec 2000 11:25:39 -0000 Received: from camgate2.cam.uk.internal (172.31.6.21) by mailhost.uk.internal with SMTP; 1 Dec 2000 11:25:39 -0000 Received: by camgate2.cam.uk.internal with Internet Mail Service (5.5.2650.21) id ; Fri, 1 Dec 2000 11:24:24 -0000 Message-ID: <886CA0C095C5D411B95400508B6F741286601A@ukcamexch4.cam.uk.internal> From: Daniel Bye To: 'Larry Rosenman' , "'questions@freebsd.org'" Subject: RE: Pesky file Date: Fri, 1 Dec 2000 11:23:47 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ah, it's so SIMPLE when you know how... Thanks, Larry! -----Original Message----- From: Larry Rosenman [mailto:ler@lerctr.org] Sent: 01 December 2000 11:23 To: 'questions@freebsd.org' Subject: Re: Pesky file * Daniel Bye [001201 05:21]: > Hi all, > > Here's a question for a Friday morning... Somehow, I have ended up with a > file named -help in my home directory. How can I get rid of it? It is 0 > bytes, > and if I try to rm, mv, unlink it etc, the shell interprets the file name as > an > argument to the program and spews forth errors. Backslash escaping it > doesn't work, and neither does quoting it. rm -- -help or rm -i ?help > > Is there any way to remove it by using the inode number?? It's not a huge > problem, but it is annoying that I can't figure out how to do it! > > TIA for any insights/solutions. > > Dan Bye > _______________________________ > UUNET UK > FM Server Support Engineer > Internet House > 332 Science Park > Milton Road > Cambridge > CB4 0BZ > > Tel: 01223 250 122 > E-mail: servers@support.uk.uu.net > > A WorldCom Company. > ============================ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message