From owner-freebsd-questions Fri Dec 1 3:23:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by hub.freebsd.org (Postfix) with ESMTP id 57CA837B400 for ; Fri, 1 Dec 2000 03:23:27 -0800 (PST) Received: (from ler@localhost) by lerami.lerctr.org (8.11.1/8.11.1/20001028) id eB1BNMg14471 for questions@FreeBSD.ORG; Fri, 1 Dec 2000 05:23:22 -0600 (CST) (envelope-from ler) Date: Fri, 1 Dec 2000 05:23:22 -0600 From: Larry Rosenman To: "'questions@freebsd.org'" Subject: Re: Pesky file Message-ID: <20001201052322.A14462@lerami.lerctr.org> References: <886CA0C095C5D411B95400508B6F7412866019@ukcamexch4.cam.uk.internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <886CA0C095C5D411B95400508B6F7412866019@ukcamexch4.cam.uk.internal>; from Daniel.Bye@uk.uu.net on Fri, Dec 01, 2000 at 11:19:35AM -0000 X-Mailer: Mutt http://www.mutt.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * 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