Use bash EXIT trap to confirm or cancel ctrl+d
4784
How can I keep control+d from disconnecting my session?
6936
How to suppress Terminated message after killing in bash?
65585
disable ctrl-escape
48479
How can I do Ctrl-Z and bg in one keypress to make process continue in background?
77378
Timeout a command in bash without unnecessary delay
145001
Stop terminal auto executing when pasting a command
72495
How to detect that Ctrl+R was pressed?
20125
How do I syntax check a Bash script without running it?
60040
libgdx-android: Intercepting back key and confirm exit
94012
Execute command in terminal an don't wait its return
18782
Is there any default function/utility to prompt the user for yes/no in a Bash script?
3754
How can I disable Ctrl+Q for all applications (system wide)?
142455
How to prevent the command prompt from closing after execution?
88497
How can I get bash to exit on backtick failure in a similar way to pipefail?
102005
How to unfreeze after accidentally pressing Ctrl-S in a terminal?
145669
Where is `exit` defined?
155832
Exit from script if SSH prompts for password