Currently, I’m using GNU screen on my iPad and utilizing screen as a safety in the event the connection is lost. Currently, I just run screen -S ipad as the first command, but is there a way to have it automatically connect to the old ipad session if it exists (and create it if not)? My one caveat is that I’d like to do this in one command, and automatically.
Share
The
-D -Roptions will make screen try to detach or create if necessary.I recommend you taking a look at all the
-d|D -r|-R|-RRoptions in the screen manual, since there are many with similar results.