Tmux (terminal multiplexer)


Tmux 1) stands for terminal multiplexer.

It will let you:

  • switch between several programs in one terminal,
  • detach them, while they are running in the background,
  • and reattach them to a different terminal.

The documentation is in the man page 2)


Start/Attach a session

tmux new-session -A -s sessionName


  • the -A flag makes new-session behave like attach-session if session-name already exists

if tmux is invoked without arguments, it will create a new session. To prevent this problem an alias may be created

alias tmux="tmux attach"


ctr-b d detaches you from the current session.

List the sessions

tmux ls

Discover More
Card Puncher Data Processing
What is a ProcFile?

A Procfile is a text file that maps: command to a name The command are executed by a manager used in the entrypoint A Procfile with two commands: Docker and the overmind...

Share this page:
Follow us:
Task Runner