Created
March 27, 2015 18:03
-
-
Save giwa/73361ab45e069ee04888 to your computer and use it in GitHub Desktop.
すべてのscreenを消す One liner ref: http://qiita.com/giwa/items/57f4e64a0c66a65c34e4
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
screen -ls | grep Detached | awk '{ print $1}'| xargs -L 1 -I % screen -S % -X quit |
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
screen -ls | grep pts | 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