Skip to content

Instantly share code, notes, and snippets.

@hostmaster
Created April 8, 2013 11:52
Show Gist options
  • Save hostmaster/5336271 to your computer and use it in GitHub Desktop.
Save hostmaster/5336271 to your computer and use it in GitHub Desktop.
print list of screen sessions
screen -q -ls
if [ "$?" -gt 10 ]; then
echo
screen -ls
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment