away
Lock terminal with an away message. tldr-pages
On Linux
Linux
Lock terminal and set away message
away messageIdentifyLock terminal and enable mail check
away --mail messageIdentifyLock terminal and disable mail check
away --nomail messageIdentifyLock terminal and sleep background tasks for number of seconds
away --time seconds messageIdentifyLock terminal and check mail if at least one inbox hasn't received new mail
away --persist messageIdentifyLock terminal and check mail until at least one inbox has received new mail
away --nopersist messageIdentifyDisplay help
away --helpIdentifyDisplay version
away --versionIdentify