Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 15:17:28 +0100 (BST)
From:      Rus Foster <rghf@fsck.me.uk>
To:        Brian McCann <bjm1287@ritvax.rit.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Slightly OT: How to remove an odd file...
Message-ID:  <20021013151607.G36558-100000@freebsd.rf0.com>
In-Reply-To: <004101c272c2$b27b1d70$1500a8c0@dogbert>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Oct 2002, Brian McCann wrote:

> I've got an interesting question for you all.  I've got a file who's
> name is "   "...3 blank spaces.  It shows up when I do an ls -la, and I
> can get it's inode # (it's in RedHat...a box I'm going to convert to
> FreeBSD real soon)...does anyone know how to remove a file based off of
> an inode #?
>
> --Brian McCann

Have you tried rm "   " ?

I've just tried it on my box

bash-2.05# touch "   "
bash-2.05# ls -ld "   "
-rw-r--r--  1 root  wheel  0 Oct 13 13:13
bash-2.05# rm "   "
bash-2.05# ls -ld "   "
ls:    : No such file or directory



Rus

--
http://www.fsck.me.uk - My blog
http://shells.fsck.me.uk - Hosting how you want it.


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?20021013151607.G36558-100000>