Created
August 1, 2024 18:24
-
-
Save mokrates/d18e273f88dac71b2bf9a78e72036c1d to your computer and use it in GitHub Desktop.
How to circumvent readonly TMOUT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# TMOUT is implemented using SIGALRM, so blocking it stops bash from terminating itself. | |
/usr/bin/env --block-signal=SIGALRM bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment