Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!nntp-read!jc From: jc@raven.bu.edu (James Cameron) Newsgroups: comp.unix.shell Subject: Re: Stupid question... Message-ID: Date: 28 May 91 00:39:37 GMT References: <1991May27.225630.18310@watdragon.waterloo.edu> Sender: news@bu.edu Organization: What do you mean 'That *can't* be done????' Lines: 31 In-reply-to: ljcummings@poppy.uwaterloo.ca's message of 27 May 91 22:56:30 GMT >>>>> On 27 May 91 22:56:30 GMT, ljcummings@poppy.uwaterloo.ca said: ||> Originator: ljcummings@poppy.waterloo.edu ||> Hi! This is a stupid question I know.. but somehow I've created a file ||> called !* in my bin directory. How do I get rid of it? [...deleted script of attempts at removing the file '!*'...] ||> James cummings Since '!' is a special character it needs to be escaped. The solution to your problem is: % rm '\!*' That is all there is to it. You should take a look at bourne and c shell books; or check the man pages under sh(1) and csh(1). Hope that helps! jc -- -- James Cameron (jc@raven.bu.edu) Signal Processing and Interpretation Lab. Boston, Mass (617) 353-2879 ------------------------------------------------------------------------------ "But to risk we must, for the greatest hazard in life is to risk nothing. For the man or woman who risks nothing, has nothing, does nothing, is nothing." (Quote from the eulogy for the late Christa McAuliffe.)