Path: utzoo!attcan!uunet!peregrine!elroy!ames!haven!mimsy!aplcen!aplcomm!trn@aplcomm.jhuapl.edu From: trn@aplcomm.jhuapl.edu (Tony Nardo) Newsgroups: comp.unix.wizards Subject: Re: fixing rm * (was: Worm/Passwords) Message-ID: <2508@aplcomm.jhuapl.edu> Date: 21 Nov 88 20:46:28 GMT References: <22401@cornell.UUCP> <4627@rayssd.ray.com> <8563@rpp386.Dallas.TX.US> <125@embossed.UUCP> <672@quintus.UUCP> <1232@atari.UUCP> <1615@basser.oz> <1067@entropy.ms.washington.edu> Sender: news@aplcomm.jhuapl.edu Reply-To: trn@aplcomm.jhuapl.edu (Tony Nardo) Organization: Johns Hopkins University/APL (Baltimore, Md.) Lines: 22 In article <1067@entropy.ms.washington.edu> charlie@mica.stat.washington.edu (Charlie Geyer) writes: >This is all very easy. If you don't like rm(1) put > > alias foo rm -i > >in your .cshrc... A half-measure. If you *really* don't like rm(1), put alias rm "rm -i" in your .cshrc file. That way, if you want to use rm without the -i switch, you have to do a little extra work (/bin/rm). By the same token, alias cp "cp -i" can protect you from yourself with file copying. ============================================================================== ARPA, BITNET: trn@aplcomm.jhuapl.edu UUCP: {backbone!}mimsy!aplcomm!trn ==============================================================================