[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Another question



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" <singhal_del@xxxxxxxxxxx>
Reply-To: linux-delhi@xxxxxxxxxxxxxxxxxxxxx
To: linux-delhi@xxxxxxxxxxxxxxxxxxxxx
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.