alias rm='rm -i'
ce la forcera le mode 'interactif' qui prompt une confirmation
> -----Original Message-----
> From: NDV [mailto:[EMAIL PROTECTED]]
> Sent: lundi 4 novembre 2002 10:02
> To: [EMAIL PROTECTED]
> Subject: [linux] Effacement par erreur
>
>
> Bonjour,
>
> Je viens de faire un rm -rf * dans ma home-directory => mes
> mails sont foutus
> le camp.
>
> Y a t'il moyen de bloquer un rm -rf pour que le systeme au
> moins demande
> confirmation ou oblige de faire quelque chose avant?
>
> Merci :°°|
>
> NDV
>
>
> _______________________________________________________
> Linux Mailing List - http://www.unixtech.be
> Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
> Archives: http://www.mail-archive.com/linux@lists.unixtech.be
> IRC: efnet.unixtech.be:6667 - #unixtech
>
This electronic transmission and any attached document is intended exclusively for the person or entity to whom it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you receive this message in error, please contact the sender and delete the material from any and all computers. SPEOS does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays.