Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2000 11:23:47 -0000 
From:      Daniel Bye <Daniel.Bye@uk.uu.net>
To:        'Larry Rosenman' <ler@lerctr.org>, "'questions@freebsd.org'" <questions@FreeBSD.ORG>
Subject:   RE: Pesky file
Message-ID:  <886CA0C095C5D411B95400508B6F741286601A@ukcamexch4.cam.uk.internal>

next in thread | raw e-mail | index | archive | help
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 <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


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?886CA0C095C5D411B95400508B6F741286601A>