Jan Walraven
DevOps



Categories:
  • Arduino (2)
  • CSS (3)
  • Docker (11)
  • ESXi (1)
  • Git (4)
  • Google Cloud (3)
  • Javascript (6)
  • Kubernetes (4)
  • Linux (36)
  • Mac (7)
  • Magento (4)
  • Mysql (14)
  • PHP (9)
  • Zend framework 2 (9)
  • Posted on February 27, 2012

    tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.

    Add extra terminal

    
    ^b c
    

    switch between terminals

    
    ^b
    

    add pane

    
    ^b "
    

    switch between panes

    
    ^b /
    

    switch between horizontal/vertical panes

    
    ^b
    

    show manual

    
    ^b ?
    

    Create three pane tmux with script

    
    #!/bin/bash
    tmux new-session -d -s session01
    tmux split-window -h  -t session01:0
    tmux split-window -v  -t session01:0
    tmux select-window -t session01:0