tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.
This tool is similar to GNU screen.
Run tmux by:
To detach or minimize: ctrl+b then d
to attach again:
If you’ve currently more than 1 session running, then you can rename the sessions. First of all, we need to check the list by:
Below is the result of list of sessions:
If you want to rename a session, type:
Then we can attach to a particular session by: