Last active
August 29, 2015 14:21
-
-
Save pierew/27765db92a57ffe42859 to your computer and use it in GitHub Desktop.
Start Screen at every start of your favourite shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checkofscreen=$(ps aux | grep /usr/bin/screen | grep -v grep) | |
if [ -z "$checkofscreen" ] | |
then | |
screen | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment