trap "" 3 9 15

at the start of your script, will ignore ^C and ^\

On Mon, 6 Nov 2000, Deepak Singhal wrote:

> 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.

--
Sanjeev "ghane" Gupta                    Mob: +65 98551208
dotXtra Pte Ltd                          Fax: +65 2275776
Singapore                                email: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


------------------------------------------------
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