Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!uunet!stanford.edu!agate!e260-1e.berkeley.edu!c60b-1eq From: c60b-1eq@e260-1e.berkeley.edu (Noam Mendelson) Newsgroups: comp.unix.questions Subject: Re: How do I remove a stubborn file? Message-ID: <1991Apr24.195249.14061@agate.berkeley.edu> Date: 24 Apr 91 19:52:49 GMT References: <1991Apr24.141633.26512@ucunx1.san.uc.edu> Sender: root@agate.berkeley.edu (Charlie Root) Organization: University of California, Berkeley Lines: 22 In article <1991Apr24.141633.26512@ucunx1.san.uc.edu> brenner@ucunx1.san.uc.edu (David L. Brenner) writes: >I need to know how to remove a file from my account. Some background, >I had dialed in from home, and while saving a file, some linenoise came >across and got embedded in the file name. Well, this means I can't >access this file. I have tried all of the following: > > %rm -i * > %rm * > %rm -rf * > >all of them returned: 'file does not exist'. Since you tried rm -rf I'll assume that the file is in a subdirectory. Move up one level and try rm -fr foo where foo is the name of the subdirectory. -- +==========================================================================+ | Noam Mendelson ..!ucbvax!web!c60b-1eq | "I haven't lost my mind, | | c60b-1eq@web.Berkeley.EDU | it's backed up on tape | | University of California at Berkeley | somewhere." |