Redhat 7.3 and rm aliases

Collins erichey2
Mon May 17 11:39:24 PDT 2004


On Sat, 26 Oct 2002 13:50:04 -0600 Collins <erichey2 at attbi.com> wrote:
> On Sat, 26 Oct 2002 13:19:28 -0600 Andrew Mathews
> <andrew_mathews at linux-works.org> wrote:
> > Collins Richey wrote:
> > > One of the traits I hate most in a distro is the decsion made 
> > > without asking to alias everything like rm with a prompt for 
> > > confirmation (even for the root user #!&%).  Usually I can find 
> > > and fix that fairly quickly, but after massive amounts of 
> > > grepping I can't seem to find where that is done by Redhat.  I 
> > > get damn tired of keying /bin/rm.
> > > 
> > > Does anyone have a clue where this is done by Redhat?
> > > 
> > > --
> > > Collins Richey -- Denver Area
> > > Redhat 7.3 system
> > > 
> > 
> > I would guess you're talking about the aliases in .bashrc.
> > # .bashrc
> > 
> 
> > alias rm='rm -i'
> > alias cp='cp -i'
> > alias mv='mv -i'
> 
> One of my first thoughts.   Unfortunately there are no such aliases
> anywhere in ~ or /etc.
> 

Even more supicious:  the command 'alias' does not list any such
alias, but the commands are indeed aliased!

--
Collins Richey - Denver Area
Redhat 7.3 system


More information about the Linux-users mailing list