Created
May 5, 2016 08:02
-
-
Save filipsPL/f5b462516f8d042907ed34e986da6a72 to your computer and use it in GitHub Desktop.
Loop over all screen sessions
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
#!/bin/bash | |
for ses in `screen -r | grep "(Detached)"| cut -f 2`; do screen -r "$ses"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment