I use the screen Screen visual consoles. To detach a screen I need to press Ctrl+A followed by D but some time a session is closed without detaching it. It appears as (Attached)
on screen -list
:
eduard@eduard-X:~$ screen -list
There are screens on:
4561.pts-46.eduard-X (30.03.2015 14:48:51) (Attached)
4547.pts-46.eduard-X (30.03.2015 14:48:33) (Detached)
4329.pts-41.eduard-X (30.03.2015 14:46:28) (Attached)
3995.pts-30.eduard-X (30.03.2015 14:30:01) (Detached)
If i try to restore it, screen responds that there is no screen to resume:
eduard@eduard-X:~$ screen -r 4329
There is a screen on:
4329.pts-41.eduard-X (30.03.2015 14:46:28) (Attached)
There is no screen to be resumed matching 4329.
Can I still resume a screen that I did not detached properly?
Sure, with
screen -d -r
You can choose which screen to detach and reattach as usual by finding the pid (or complete name) with screen -list
.
screen -d -r 12345
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments