Using tmux

# Debian
sudo apt install tmux

# macOS
brew install tmux

Sessions

| Actions | Key bindings | |-|-| | name/rename current session | <prefix> $ |

Windows

| Actions | Key bindings | |-|-| | create a new window | <prefix> c | | kill all windows | <prefix> & |

Panes

| Actions | Key bindings | |-|-| | kill current pane | <prefix> x |