Thursday, January 13, 2011

Screen for Linux Session Management

Detach:
“Ctrl-A” “d”.

[root@gigan root]# screen -ls
There are screens on:
31619.ttyp2.gigan (Detached)
4731.ttyp2.gigan (Detached)

Attach:
[root@gigan root]#screen -r 31619.ttyp2.gigan

http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/

Also tmux

http://www.wikivs.com/wiki/Screen_vs_tmux

$ tmux list-sessions

$ tmux attach

Tmux allows you to have shell sessions that don't disappear on you just because you disconnected from the machine.

No comments: