[plug] a file without a name

Bevan Broun bevanb at ee.uwa.edu.au
Thu Oct 14 13:18:43 WST 1999


on Thu, Oct 14, 1999 at 10:50:44AM +0800, Luigi Cantoni <lui at stm0001.dialix.oz.au> wrote:
> > Anybody know how to find out what a file is named if in ls it shows up with all data except the filename?  
> > 
> > ls -b   shows it as being named \177, but I can't find out anything more about the file with cat, or more, or vi.  Also 'file *' shows this file as the last entry in the list, with a : and no further data.
> > Thanks,
> > Tamara
> The file name is the delete character.
> you may find things like vi ? will work.
> It will vi all single character names and this file is a single
> character name so it should do it. You can use the same trick
> to delete it (warning you may need -i to not delete other files).
> There are several other ways but this one should work.

"ls -l > tmp.out && vi" tmp.out to find out what unprintable char(s) the
file name.  

BB
-- 
Bevan Broun                                           ph (08) 9380 1587
Computer Systems Officer                             fax (08) 9380 1065
Dept. Electrical and Electronic Engineering      
University of Western Australia                                 rm. G70


More information about the plug mailing list