Redhat 7.3 and rm aliases

Net Llama! netllama
Mon May 17 11:39:24 PDT 2004


On 10/26/2002 12:50 PM, Collins 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.

I'm not following you.  Redhat has forever aliased those 3 in ~/.bashrc. 
  Are you saying that somehow its not happening on your system?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   1:05pm  up 14 days,  1:23,  1 user,  load average: 1.17, 0.89, 0.68



More information about the Linux-users mailing list