Skip to content

Instantly share code, notes, and snippets.

@danyaljj
Created June 25, 2015 23:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danyaljj/2274a8fd5fb9472aea4e to your computer and use it in GitHub Desktop.
Save danyaljj/2274a8fd5fb9472aea4e to your computer and use it in GitHub Desktop.
Screen commands

screen -S NAME Start a new screen

CTRL+A d Detach (while inside screen)

screen -d SCREENIDDetach screen in another terminal

screen -dr Connect to screen and detach others (to remember: "screen doctor!")

exit Terminate screen

screen -ls List all of the screen processes

screen -r NAME Attach screen

CTRL+a n Switching the sessions

CTRL+a c create new bash window

CTRL+a k kill a bash window

CTRL+a S Split horizontally

CTRL+a | Split vertizally

CTRL+tab move to the next region

CTRL+X close the current region

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment