I am trying to lock and suspend from the terminal. I tried:
pmi action suspend | at now + 1 min
And then typed
But both that and
vlock kill the running command. Is there a way to lock the terminal and than get the computer to suspend using only Terminal commands?