2007-01-08 ^D(Ctrl-D)でシェルを終了させたくない sh zshなら setopt ignoreeof bashなら export IGNOREEOF=n n回連続で^Dを入力されたら終了。