remove this file...

Jeff Phillips jjp at necis.UUCP
Sat Jun 8 06:14:14 AEST 1991


In article <1991Jun4.233032.14860 at 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 at 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 @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@



More information about the Comp.unix.wizards mailing list