[HPADM] RE: RE: Involuntary removes.

From: luca.frigatti@tiscali.it
Date: Wed Aug 27 2003 - 08:30:38 EDT


hello
you could create a file named "-i" on your directory (if the directory to
procect is only one).
In other case, you can create one alias in the /etc/profile file
alias rm="rm -i"

Best regards,

Luca

>-- Messaggio Originale --
>From: "Porell, Chris" <Chris.Porell@ceridian.com>
>To: "Sevilla Simarro, Enrique" <ESevilla@uni2.es>,
> "'hpux-admin@dutchworks.nl'" <hpux-admin@dutchworks.nl>
>Subject: [HPADM] RE: Involuntary removes.
>Date: Mon, 25 Aug 2003 09:43:05 -0400
>
>
>Put an alias in /etc/profile like this:
 
alias rm='rm -i'
 
That should do it.
 
Chris
 

-----Original Message-----
From: Sevilla Simarro, Enrique [mailto:ESevilla@uni2.es]
Sent: Monday, August 25, 2003 7:52 AM
To: 'hpux-admin@dutchworks.
>l'
Subject: [HPADM] Involuntary removes.

Hi,

I would like to know if its possible to enable any option on HPUX to avoid
involuntary uses of rm command.

For example, only the execution after responding a confirmation question,
or
somet
>ing else ???

Best regards,
Enrique

_____________________________________________________________
Uni2 Telecomunicaciones, S.A.U.
Aviso legal:

Este mensaje electrónico está dirigido únicamente a la(s) dirección(es)
indicadas anterio
>mente; el carácter confidencial, personal e intransferible
del mismo está protegido legalmente. Cualquier revelación, uso o reenvío
no
autorizado, completo o en parte, está prohibido.

Si ha recibido este mensaje por equivocación, notifíquelo inme
>iatamente a
la persona que lo ha enviado y borre el mensaje original junto con sus
ficheros anexos sin leerlo ni grabarlo, total o parcialmente.

Gracias

__________________________________________________________________
Partecipa al concorso Tiscali "collegati e vinci",
il primo premio e' un viaggio per 2 persone a Zanzibar!
http://point.tiscali.it/numerounico/

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:33 EDT