Skip to content

Instantly share code, notes, and snippets.

@Naramsim
Forked from hsuh/screen.md
Last active October 28, 2015 20:40
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 Naramsim/1b8cc0b4e5fdae715f6c to your computer and use it in GitHub Desktop.
Save Naramsim/1b8cc0b4e5fdae715f6c to your computer and use it in GitHub Desktop.
screen spliting with screen

In screen the terminal multiplexer.

  • new session screen -S NewSession
  • switch between sessions ctrl a then n
  • detach to the current session ctrl a then d
  • list screens screen -ls
  • attach to an attached session screen -x pidOfSession
  • delete detached session screen -X -S pidOfSession quit
  • To split vertically: ctrl a then |.
  • To split horizontally: ctrl a then S (uppercase one).
  • To unsplit: ctrl a then Q (uppercase one).
  • To switch from one to the other: ctrl a then tab

Note: After splitting, you need to go into the new region and start a new session via ctrl a then c before you can use that area.

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