Created
December 6, 2014 03:19
-
-
Save Jfortin1/63ee7706fa103271cf1f to your computer and use it in GitHub Desktop.
To kill all your screen sessions
This file contains hidden or 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
killscreens () { | |
screen -ls | grep Detached | cut -d. -f1 | awk '{print $1}' | xargs kill | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment