$IGNOREEOF: Control how the shell treats EOF

$IGNOREEOF controls what an interactive shell does when the only EOF is entered. Control + D inputs the EOF character.

Examples

Ignore the first EOF to avoid accidental logouts:
1
IGNOREEOF=1
BashSupport Pro 是一个 支持 $IGNOREEOF 的 Bash 集成开发工具 – 马上试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款