Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In bash, you can use `set -o ignoreeof` for your interative shells to not trigger logout upon receiving EOF/^D.



Thanks, that's super useful! I found myself accidentally quitting terminal multiple times by pressing Ctrl+D one too many times.


damn thats really helpful, thank you


Thanks!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: