Screen is a persistent virtual terminal manager, useful when working on a remote server. More info here.

sudo su
apt update && apt install screen

Commonly used commands

screen -S <screen_name> – create new screen
screen -ls – list all screens
screen -x <screen_name> – attach to screen session
screen -X -S <screen_name> quit – kill screen

When attached to screen session

ctrl + A + [ – copy mode, scroll with pgup, pgdown. Exit copy mode with esc.
ctrl + A + C – creates new screen in current session
ctrl + A + N – next screen, if any
ctrl + A + P – previous screen, if any
ctrl + A + D – detach from screen

Categories: Uncategorized

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x