paint-brush
$ screen cheat sheet (multi-screen) by@peterchang_82818
8,746 reads
8,746 reads

$ screen cheat sheet (multi-screen)

by March 27th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

I am a loyal <strong>tmux</strong> user, in love with it’s multi-session and split-screen features. However I am recently developing under a environment which doesn’t support tmux.

Company Mentioned

Mention Thumbnail
featured image - $ screen cheat sheet (multi-screen)
 HackerNoon profile picture

I am a loyal tmux user, in love with it’s multi-session and split-screen features. However I am recently developing under a environment which doesn’t support tmux.

There is always a alternative, the bro of tmux is screen, after played around screen for a while, I would say it has everything I need.

Screen pros:

  • Extremely stable (v1.0 was in 1987)
  • Some terminal issues fixed with TERM=screen
  • When multiplexing, any attached terminal can resize a pane
  • Faster

Needed to know before start

start a new screen session with session name
$ screen -S <name>
list running sessions/screens
$ screen -ls
attach to a running session
$ screen -x

attach to session name

$ screen -r <name>

Kick off

$ screen

Create new screen

Ctrl+a, c

Next screen

Ctrl+a, n

Previous screen

Ctrl+a, p

Kill screen (keep in background)

Ctrl+a, d

Multi-screen usage

Create/Split new terminal

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

Ctrl+a, S

List/Switch terminal

Ctrl+a, "

Next terminal

Ctrl+a, space

Previous terminal

Ctrl+a, backspace

Kill terminal

Ctrl+a, q

Rename terminal

Ctrl+a, A

N’th terminal

Ctrl+a, 3

Exit multi-terminal

Ctrl+a, Q

Reference:

바카라사이트 바카라사이트 온라인바카라