Screen
Basic
All commends lead by ctrl+a
, followed by ?
to check the entire reference.
c
create new windown
andp
: next window / previous windoww
to see all windows(ctrl+)"
goes directly to the wanted windowA
change the window’s name (default: bash)k
kill this window\
quit screen and kill all windowsd
detach from a screen session to the main console,screen -r
return to the screen session- What if we have multiple screen sessions? First, use
screen -ls
to check all screen sessions with ids, then usescreen -r 1234
to attach a certain session
Keep processes running after we disconnected
- Enter screen by
screen
- Create a new window
c
- Run the process here
- Detach screen
d
- Disconnect