Date: Fri, 1 Dec 2000 05:23:22 -0600 From: Larry Rosenman <ler@lerctr.org> To: "'questions@freebsd.org'" <questions@FreeBSD.ORG> Subject: Re: Pesky file Message-ID: <20001201052322.A14462@lerami.lerctr.org> In-Reply-To: <886CA0C095C5D411B95400508B6F7412866019@ukcamexch4.cam.uk.internal>; from Daniel.Bye@uk.uu.net on Fri, Dec 01, 2000 at 11:19:35AM -0000 References: <886CA0C095C5D411B95400508B6F7412866019@ukcamexch4.cam.uk.internal>
next in thread | previous in thread | raw e-mail | index | archive | help
* Daniel Bye <Daniel.Bye@uk.uu.net> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001201052322.A14462>