Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site ihuxe.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!ihuxe!foss From: foss@ihuxe.UUCP (foss) Newsgroups: net.unix Subject: Re: Funny file names Message-ID: <1128@ihuxe.UUCP> Date: Tue, 14-May-85 21:24:10 EDT Article-I.D.: ihuxe.1128 Posted: Tue May 14 21:24:10 1985 Date-Received: Wed, 15-May-85 01:26:31 EDT References: <279@eneevax.UUCP> Distribution: net Organization: AT&T Bell Laboratories Lines: 21 > By mistake I created a file called ^G (ctl-G) from readnews. When > went back to the csh, I did an `ls' and it told me that I had file > called `?'. When I tried to `rm ?' it wouldn't go away. However, > I tried `rm ^G', that worked. I think this is kind of strange. > > What happens if one (by mistake) creates a file called `ctl-foo' and one > didn't know that this was happening. The next time they did an `ls' > of that directory they'd get a `?' and it would be impossible to remove > because they don't know the name. > > Can someone explain this to me? > > -- If all else fails, you can always use: rm -i * which will interact with the terminal before removing files. -----------