On Wed, May 2, 2012 at 5:16 AM, Andrei POPESCU <andreimpope...@gmail.com> wrote:
> On Ma, 01 mai 12, 19:15:19, Indulekha wrote:
>>
>> It's always wise to alias "rm" to "rm -i" in your shell.
>> Also learned the hard way, when the combination of a killer
>> headache and time pressure caused me to delete a bunch of
>> things years ago...
>
> I used to think so as well, but consider situations where your delete
> pattern matches a lot of files, are you going to press 'y' for each and
> every one of them? You will probably interrupt and add -f as well, which
> may do more than what you wanted.

You can override the aliased "-i" with a '\" in front of "rm".


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SzTrpV+7SR_co=zpqhdx5v1h9npgt391jjepgsa5an...@mail.gmail.com

Reply via email to