how to close session in tmux code example
Example 1: tmux how to kill all sessions
pkill -f tmux
Example 2: How to kill all tmux sessions (or at least multiple sessions) from the CLI?
tmux kill-server
pkill -f tmux
tmux kill-server