30 September 2017
For a quickstart, let’s create a new session with Tmux.
The session will be named
Now, we get a new terminal session, but with moar power.
We can manage other terminal sessions with Tmux commands.
Keep in mind that Tmux commands works only when we are running a Tmux session,
and for any Tmux command to run, it needs to start with
Control + b. By this we mean hold
Control and hit
For example, a Tmux command to open a new terminal window is
Control + b + c to open a new terminal window.
Here are a list of commonly used commands.
Control + b
, (comma)- Rename the current window name
. (period)- Reassign the window number
d (letter "d")- Detach the session
Let’s detach from our
hibiscus-mint session with the following command:
Control + b + d
Now we are back to our regular terminal.
We can see that
hibiscus-mint is still running in background with the following command:
Here are few bash commands to manage Tmux sessions:
As we saw earlier, we can create another session, and the existing session will continue to run.
For more Tmux commands, here is a quick cheatsheet.