bash ^d 

Newsgroups: comp.os.linux.misc,comp.unix.questions
>In Linux slackware, when I try to use ^d to logout from bash, I got
>a warning saying something like "type logout instead". How can I
>disable this feature?

Shell Variables …

IGNOREEOF
     Controls the action of the shell on receipt of  an  EOF
     character  as the sole input.  If set, the value is the
     number of consecutive EOF characters typed as the first
     characters  on an input line before bash exits.  If the
     variable exists but does not have a numeric  value,  or
     has  no value, the default value is 10.  If it does not
     exist, EOF signifies the end of  input  to  the  shell.
     This is only in effect for interactive shells.

Barry Margolin

documented on: 2001.01.08 Mon 18:13:12