[plug] a file without a name
Tamara Thompson
thompson at gate.sunquest.com
Fri Oct 15 02:49:20 WST 1999
Hey, thanks! that ? parameter is nifty! It works with mv as well.
Yeah, I finally figured out that 177 octal was decimal 127 and the delete key, but still wasn't sure how to vi a file named <deletekey> :)
thanks a lot!
Tamara
>>> Bevan Broun <bevanb at ee.uwa.edu.au> 10/13 10:18 PM >>>
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