Created
February 6, 2019 17:22
-
-
Save hyukishi/ec6f59eea7ec01fba3f90bc829518c3d to your computer and use it in GitHub Desktop.
See comments at the top of the script
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
#!/bin/bash | |
# Created by Jeffery Grantham 01/04/2019 | |
# The purpose of this script is to reattach all open screens in sequential order. | |
# As you exit a screen, you will be automatically attached to the next open screen. | |
for line in `screen -ls | grep Detached | awk '{print $1}'` | |
do `screen -r $line` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment