Hi There,
The first thing in the script file should be

trap "" INT

trap - the command
"" - the action to associate when that interrupt occurs. Here nothing is to 
happen
INT - Ctrl + C

Hope this helps u

Regards,
Vikas Pandit.


>From: "Deepak Singhal" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [linux-delhi] Another question
>Date: Mon, 06 Nov 2000 12:20:11 GMT
>
>hello,
>
>Can I diable ctrl-c function when I am running some shell script.
>Basically I dont want the user to be able to terminate the shell script
>using ctrl-c. If this is possible pls send me the details.
>
>Bye
>
>deepak
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>
>------------------------------------------------
>An alpha version of a web based tool to manage
>your subscription with this mailing list is at
>http://lists.linux-india.org/cgi-bin/mj_wwwusr

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


------------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to