Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!cs.umn.edu!uc!apctrc!voyager!hgo7!zfgo01 From: zfgo01@hgo7.hou.amoco.com (F. G. Oakes) Newsgroups: comp.unix.wizards Subject: Re: remove this file... Message-ID: Date: 7 Jun 91 01:15:11 GMT References: <1991Jun4.233032.14860@cs.odu.edu> <2620001@hpcc01.HP.COM> Sender: news@hou.amoco.com Organization: Amoco Lines: 19 lthompso@hpcc01.HP.COM (Larry L. Thompson) writes: >/ hpcc01:comp.unix.wizards / priest@cs.odu.edu (Travis L Priest) / 4:30 pm Jun 4, 1991 / >I recently had a file in my dirctory that was incidentally created by >a program I ran. `ls` reported it's name as "N???BZ? " and upon >trying to remove it, it logged me out. >>My question is: How do you remove a file whose name contains the >>"logout" control sequence using standard commands available to sh, >>csh, or tcsh ... You might try archiving everything in it's (the file's) home directory, except the file itself into a temporary file, move up a level, remove the directory, make it back, and restore the files from the archive. This assumes you can exclude the problem file with egrep, etc. -- ============================================================================ zfgo01@hgo7.hou.amoco.com (Glen Oakes)