[6577] in RedHat Linux List
Re: The rm command
daemon@ATHENA.MIT.EDU (Keith F.Stark)
Thu Nov 28 11:55:50 1996
Date: Thu, 28 Nov 1996 16:53:57 GMT
From: "Keith F.Stark" <stark@hydor.jpl.nasa.gov>
To: redhat-list@redhat.com, sen1@math.msu.edu
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
I personally think that having rm aliased to 'rm -i' is a great thing,
so that you can recover from mistakes in a regular expressions
(ie 'rm * .tmp'). If you want to delete things without rm asking, you can
use '\rm' which will turn off aliasing for that one command. This works
in csh and tcsh, but I have never used bash so I am not sure about that.
Keith
>
>Thanks how do I re-initialize the file?
>
>Jason
>
>On Thu, 28 Nov 1996, Sheldon E. Newhouse wrote:
>
>> On Thu, 28 Nov 1996, Jason Swenson wrote:
>> > How do I turn this off so I don't get prompted anymore. I just want to rm
>> > the file or directory without answering y to the prompt.
>> In your .bashrc file you will see that
>> rm
>> is aliased to
>> rm -i
>>
>> Same (in mine) for cp and mv.
>>
>> These are safety features. If you want to disable them just comment
>> out the appropriate lines of this file (or remove them) and re-initialize
>> the file.
>>
>> -sen
>>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null