Tmux terminal multiplexer
is a terminal multiplexer. It's a good tool for e.g. remote support. It can also be used to start a command you want to keep running after you close your console session (you can later on attach to your running session).
In order to useyou will have to install it:
Start a new session
To create asession you just enter:
List existing sessions
When you have started some session(s) you can list them:
You might get a list that looks like this:
0: 1 windows (created Wed Oct 24 15:12:12 2012) [126x35] 1: 1 windows (created Wed Oct 24 15:14:44 2012) [126x35]
Attach to a existing session
Lets say you want to attach to a existing session (e.g. the above
1: 1 windows session).
Controlling a session
While inside asession, you can control it using keyboard shortcuts. We will only describe some of those alternatives.
One of the most useful commands is the one that gives you 'help'.
While in your session, click:
(Do not press/holdwhen clicking )
Detach from a session
Sometimes it's useful to just detach from a session without killing it.
Close or kill a session
To 'kill' a session:
Confirm by clickingwhen prompted.
You can also 'kill' your session by entering:
Other terminal multiplexers
A similar tool is here.which is documented