• 1 Post
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle












  • People have already made lots of good replies but here’s my summary:

    tmux is a terminal multiplexer. It allows multitasking in command line only environments. For example if you have to do a sudo apt upgrade but don’t want to leave your ssh client logged in until it finishes, you can run it in a tmux session so it will happen in the background even if you’re not logged in.

    To start a new session, type “tmux”

    To view running sessions, type “tmux list-sessions”

    To switch to a running session, type “tmux attach-session -c N” where N is the number of the session.

    To exit a tmux terminal and go back to the main terminal, do ctrl+b and then press d.