tmux

Används för att skapa en terminalmultiplexer med möjlighet att ha flera sessioner igång samtidigt och som körs i bakgrunden. Du kan sedan koppla upp dig mot en session som körs i bakgrunden via terminalen.

Stara en ny session med sifferidentifikator:

$ tmux

eller med sessionsnamn:

$ tmux new -s session_name

Återanslut

Lista aktiva sessioner

$ tmux ls

Återanslut:

tmux attach-session -t 0

Kommandon:

Ctrl+b d -Koppla lös från session

  • Ctrl+b c Create a new window (with shell)
  • Ctrl+b w Choose window from a list
  • Ctrl+b 0 Switch to window 0 (by number )
  • Ctrl+b , Rename the current window
  • Ctrl+b % Split current pane horizontally into two panes
  • Ctrl+b " Split current pane vertically into two panes
  • Ctrl+b o Go to the next pane
  • Ctrl+b ; Toggle between the current and previous pane
  • Ctrl+b x Close the current pane