Redhat 7.3 and rm aliases

Andrew Mathews andrew_mathews
Mon May 17 11:39:24 PDT 2004


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

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
         . /etc/bashrc
fi


-- 
Andrew Mathews
---------------------------------------------------------------
   1:15pm  up 3 days,  3:56,  8 users,  load average: 2.19, 2.22, 2.26
---------------------------------------------------------------
A person is just about as big as the things that make them angry.



More information about the Linux-users mailing list