[SunHELP] RE: Disable Ctrl-D

Phil Stracchino alaric at caerllewys.net
Sat Dec 20 01:22:02 CST 2003

On Mon, Nov 17, 2003 at 11:28:45PM -0500, Asif Iqbal wrote:
> How do we do it in bash shell ?

export ignoreeof=10

You can set the value as high as you like, and the first n EOFs will be
ignored.  (Well, OK, they'll generate a message saying "Use logout to
exit the shell.")  There is no value to disable it altogether, though.

 .*********  Fight Back!  It may not be just YOUR life at risk.  *********.
 : phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
 :  alaric at caerllewys.net : alaric-ruthven at earthlink.net : phil at latt.net  :
 :   2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)   :
 :    Linux Now!   ...Because friends don't let friends use Microsoft.    :

More information about the SunHELP mailing list