tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.
tmux may be reattached using:
$ tmux a
tmux may be controlled from an attached client by using a key combination of a prefix key, ‘C-b’ (Ctrl-b) by default, followed by a command key.
The default command key bindings are: Ctrl + b
Send the prefix key (Ctrl + b) through to the application.
| 0 to 9 | Select windows 0 to 9. |
| [ | Enter copy mode to copy text or view the history. |
| ] | Paste the most recently copied buffer of text. |
| c | Create a new window. |
| d | Detach the current client. |
Auto attach to session or start new tmux window when you login , use mouse in tmux. Use cmatrix as a screensaver for your terminal.
Using Touch ID and tmux with pam_reattach