about Grigoris Maravelias
Fast notes on screen

Fast notes on screen

> 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):
“ctrl+a”+”d”

> kill session (inside session):
“Ctrl+a”+”:quit”
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)

Leave a Reply

Your email address will not be published. Required fields are marked *