Source From Here
Question
I'm using the screen multiplexer tool on the command shell and open a lot of screens. I then forget which process ID associates with which task. I would like to set a name for a screen but can't find an option in the manpage.
Currently, listing the screens looks like this:
And I would like to see something like this:
How can I do this?
How-To
To create a new screen with the name foo, use
Then to reattach it, run
Question
I'm using the screen multiplexer tool on the command shell and open a lot of screens. I then forget which process ID associates with which task. I would like to set a name for a screen but can't find an option in the manpage.
Currently, listing the screens looks like this:
- There are screens on:
- 5422.pts-1.aws1 (Detached)
- 5448.pts-1.aws1 (Detached)
- 5027.pts-1.aws1 (Detached)
- 3 Sockets in /var/run/screen/S-sb.
- There are screens on:
- 5422.logCleanWorker (Detached)
- 5448.overNightLongTask(Detached)
- 5027.databaseOverNightLongTask (Detached)
- 3 Sockets in /var/run/screen/S-sb.
How can I do this?
How-To
To create a new screen with the name foo, use
Then to reattach it, run
沒有留言:
張貼留言