nixCraft 🐧 on Nostr: You can `readonly TMOUT=300; export TMOUT` to have bash (for CSH/TCSH try `set -r ...
Published at
2024-10-02 18:52:45Event JSON
{
"id": "068337fa4f1c500eb8d475bb220986bca527895d1363c13497be41b5e354279c",
"pubkey": "cc3790930722bfa73e28f9a2aa0832706884305cb80687e20927c7960db99185",
"created_at": 1727895165,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/nixCraft/statuses/113239337585597570",
"activitypub"
]
],
"content": "You can `readonly TMOUT=300; export TMOUT` to have bash (for CSH/TCSH try `set -r autologout= 5`) to you off automatically if you leave the shell idle for more than 5 minutes. The variable is read-only, so users can not change the value. See https://www.cyberciti.biz/faq/linux-unix-login-bash-shell-force-time-outs/ for more info.",
"sig": "ea00108aeb942f432a3f3b818b9db2d887fcb7bf6f4d8a0ea167ae2ad05730e2513e33a7dd99afbaf75660fa23566a5826653ae6c1e0d9f76a3a11555d266739"
}