Skip to content

Instantly share code, notes, and snippets.

@d6rkaiz d6rkaiz/for screen
Created Aug 31, 2010

Embed
What would you like to do?
screen
#!/bin/sh
screen -q -ls
if [ $? -eq 9 -a -z "$STY" ]; then
exec screen -U
else
exec screen -UxRR
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.