March 2025
Intermediate to advanced
118 pages
3h 2m
English
One of tmux’s biggest advantages is that you can fire it up, start up programs or processes inside the tmux environment, and then leave everything running in the background by “detaching” from the session.
If you close a regular terminal session, all the programs you have running in that session are killed off. But when you detach from a tmux session, you’re not actually closing tmux. Any programs you started up in that session will stay running. You can then “attach” to the session and pick up where you left off.
To demonstrate this, create a new named tmux session, start up a program, and detach from the session. First, create the session:
| | $ tmux new -s basic |
Then, within the tmux session, ...
Read now
Unlock full access