Jan Walraven
DevOps



Categories:
  • Arduino (2)
  • CSS (3)
  • Docker (10)
  • ESXi (1)
  • Git (4)
  • Google Cloud (2)
  • Javascript (6)
  • Linux (31)
  • Mac (6)
  • Magento (4)
  • Mysql (13)
  • 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