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
  • Select an option

  • Save Naramsim/1b8cc0b4e5fdae715f6c to your computer and use it in GitHub Desktop.

Select an option

Save Naramsim/1b8cc0b4e5fdae715f6c to your computer and use it in GitHub Desktop.

Revisions

  1. Naramsim revised this gist Oct 28, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions screen.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,7 @@ In screen the terminal multiplexer.
    - 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).
  2. Naramsim revised this gist Oct 16, 2015. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions screen.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,9 @@
    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`
    - To split vertically: `ctrl` `a` then |.
    - To split horizontally: `ctrl` `a` then `S` (uppercase one).
    - To unsplit: `ctrl` `a` then `Q` (uppercase one).
  3. @hsuh hsuh renamed this gist Jun 21, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. @hsuh hsuh renamed this gist Jun 21, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @hsuh hsuh revised this gist Jun 21, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -4,5 +4,4 @@ In screen the terminal multiplexer.
    - 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.

    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.
  6. @hsuh hsuh revised this gist Jun 21, 2014. 2 changed files with 8 additions and 9 deletions.
    8 changes: 8 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    In screen the terminal multiplexer.
    - 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.

    9 changes: 0 additions & 9 deletions screen
    Original file line number Diff line number Diff line change
    @@ -1,9 +0,0 @@
    In screen the terminal multiplexer.

    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.

  7. @hsuh hsuh revised this gist Jun 21, 2014. 1 changed file with 0 additions and 9 deletions.
    9 changes: 0 additions & 9 deletions screen
    Original file line number Diff line number Diff line change
    @@ -7,12 +7,3 @@ In screen the terminal multiplexer.

    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.

    EDIT, basic screen usage:

    New terminal: ctrla then c.
    Next terminal: ctrla then space.
    Previous terminal: ctrla then backspace.
    N'th terminal ctrla then [n]. (works for n∈{0,1…9})
    Switch between terminals using list: ctrla then " (useful when more than 10 terminals)
    Send ctrla to the underlying terminal ctrla then a.

  8. @hsuh hsuh created this gist Jun 21, 2014.
    18 changes: 18 additions & 0 deletions screen
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    In screen the terminal multiplexer.

    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.

    EDIT, basic screen usage:

    New terminal: ctrla then c.
    Next terminal: ctrla then space.
    Previous terminal: ctrla then backspace.
    N'th terminal ctrla then [n]. (works for n∈{0,1…9})
    Switch between terminals using list: ctrla then " (useful when more than 10 terminals)
    Send ctrla to the underlying terminal ctrla then a.