Using Tmux
Tmux provides convenience but is not necessary. It allows you to 1) open many terminals ("windows") within one terminal and 2) close the terminal window without exiting the server
Install
sudo apt updatesudo apt install tmux
Usage
There are 4 basic commands:
Create new tmux window w/ name:
tmux new -s <windowName>Leave tmux window:
ctrl + b, then enterd(you must be in the window)Reenter tmux window:
tmux attach -t <windowName>Permanently close tmux window:
ctrl + b, enterx, then entery(you must be in the window)
In your non-tmux terminal, run tmux ls to see all active windows.
Last updated