Skip to content

Instantly share code, notes, and snippets.

@t0mmyt
Created September 2, 2015 15:48
Show Gist options
  • Select an option

  • Save t0mmyt/3ae8f641f20f5ac9cc2d to your computer and use it in GitHub Desktop.

Select an option

Save t0mmyt/3ae8f641f20f5ac9cc2d to your computer and use it in GitHub Desktop.
Remove read-only TMOUT in bash
#!/bin/bash
gdb --pid $PPID <<EOF
call unbind_variable("TMOUT")
detach
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment