On 2002-10-14 10:02, Unix Tools <[EMAIL PROTECTED]> wrote: > "Brian McCann" <[EMAIL PROTECTED]> 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 #? > > cd to the directory where the file exists > write a perl script > > #!/usr/bin/perl > unlink " "; > exit(0);
Or use quoting properly on the command line: # rm " " That seems a bit faster, and requires no Perl knowledge. Giorgos. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message