GNU screen commands(Cheat Sheet)

GNU Screen is a terminal multiplexer, a software application that can be used to multiplex several virtual consoles, allowing a user to access multiple separate login sessions inside a single terminal window, or detach and reattach sessions from a terminal. It is useful for dealing with multiple programs from a command line interface, and for separating programs from the session of the Unix shell that started the program, particularly so a remote process continues running even when the user is disconnected. [more]


  • sudo apt-get install screen -y

Description Keys
Enables Screen screen
Create screen Ctrl+a and then c
Go to next screen Ctrl+a and then n
Go to previous screen Ctrl+a and then p
Split screen horizontally Ctrl+a and then Shift+s
Split screen vertically Ctrl+a and then Shift+\
Traverse between splited screens Ctrl+a and then Tab
Unsplit screens Ctrl+a and then Shift+x
Scroll screen Ctrl+a and then Esc (Hit Esc, once you are done)
Detach screens Ctrl+a and then d
Reattach screen screen -r PID
List screens screen -ls

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s