tmux

Tmux is one of the tools I really like to install as soon as possible. It provides the possibility of loosing your connection whitout loosing all your sessions,

If you start tmux, it starts a “virtual” terminal. If you loose your connection to the machine, the vitual terminal keeps running. As soon as you can reconnect you can re-attach to the virtual terminal.

Tmux is available in major distributions, or at github.

Key commands:

  • Inside tmux
    • Ctrl – b c : new virtual teminal in the tmux session
    • Ctrl – b d : detach from the tmux session
    • Ctrl – b p : previous window in the tmux session
    • Ctrl – b n : next window in the tmux session
    • Ctrl – b ” : Split the current window vertically
    • Ctrl – b % : Split the current window horizontally
  • Outside tmux
    • list-sessions : displays the tmux sessions on the box
    • attach : attach to a session on the box
      • -t <n> : attach to session with number n

Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *