Archive for May, 2013

Fast notes on screen

Posted May 30, 2013 By grigoris

> list sessions:
screen -ls

> resume session:
screen -r

> reattach (if necessary detach first):
screen -d -r

> detach session:
screen -d

> detach session (while running – keyboard shortcut):

> kill session (inside session):
or the more obvious … “exit”

> kill session (outside, list sessions first):
screen -S session_number -X quit
(-S session’s name, -X send commant to the running screen session)