I have a couple of questions regarding screen:
When I type
screen -r, I get the following:
There are several suitable screens on: 25154.tracks (Detached) 29278.mywork (Detached) 29138.mywork (Detached) 30915.mywork (Detached) 20065.mywork (Detached) Type "screen [-d] -r [pid.]tty.host" to resume one of them.
I'm not sure, but I believe most of these screens are old, since I haven't used screen in some time, and I just accidentally detached from one. With this, my questions are:
- Is there a way to resume the most recently detached screen?
- How do I "delete" older screen sessions?
- Is it possible to display the date and # of screens within each session?
- Is there a way to temporally associate aliases to the screens listed by
screen -rto facilitate their choice? For example, it would be great if
screen -rlisted screens as follows:
There are several suitable screens on:  25154.tracks (Detached)  29278.mywork (Detached)  29138.mywork (Detached)  30915.mywork (Detached)  20065.mywork (Detached) Choose one to resume:
And then I could just type 1,2,3,4 or 5 without having to type the full
pid of the screen I want to resume. Is there anything that would do the trick?