Tmux

Tmux is a terminal multiplexer an alternative to Screen. Tmux sessions are persistent, which means that programs running in Tmux will continue to run even if you get disconnected.


Command list

  1. Create a new named session

$ tmux new -s <session-name>
  1. List sessions

$ tmux ls
  1. Attach to a session

$ tmux a -t <session-name>
  1. Detach from the screen session:

Ctrl+b d
  1. Kill the session:

$ tmux kill-session -t <session-name>

Further reading

  1. Getting Started With Tmux: https://linuxize.com/post/getting-started-with-tmux

  2. Tmux Commands Examples: https://ostechnix.com/tmux-command-examples-to-manage-multiple-terminal-sessions