fixing rm * (was: Worm/Passwords)
Tony Nardo
trn at aplcomm.jhuapl.edu
Tue Nov 22 06:46:28 AEST 1988
In article <1067 at entropy.ms.washington.edu> charlie at 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 at aplcomm.jhuapl.edu
UUCP: {backbone!}mimsy!aplcomm!trn
==============================================================================
More information about the Comp.unix.wizards
mailing list