Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!mirror!necntc!necis!jjp From: jjp@necis.UUCP (Jeff Phillips) Newsgroups: comp.unix.wizards Subject: Re: remove this file... Message-ID: <1429@necis.UUCP> Date: 7 Jun 91 20:14:14 GMT References: <1991Jun4.233032.14860@cs.odu.edu> Reply-To: jjp@necis.UUCP (Jeff Phillips) Organization: NEC Technologies, Inc., Boxborough, MA Lines: 20 In article <1991Jun4.233032.14860@cs.odu.edu> you write: > >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 (useful on a system that does not have emacs)? I do not >[...] Have you tried "rm -rif ./*" ? Answer 'n' when prompted for removing all the other files in the directory, and 'y' when prompted for the file you want to delete. -- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ Jeffrey J. Phillips UUCP: jjp@necis.nec.com @@ @@ NEC Technologies, Inc. PHONE: (508)635-6077 @@ @@ "UNIX isn't a philosophy, it's a way of life" - anon @@ @@ CASUAL DISCLAIMER: Opinions are mine - definitely not corporate policy @@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@