Forum Discussion

cliKing's avatar
cliKing
Occasional Contributor
4 years ago

How to check if a session is active? (feature request)

In shell scripts I want to check that a session is active and valid and that it will still be active for the next x minutes. The only output I need is an exit code: 0 or 1 AFAIK there is no bui...