how to kill a tmux session code example Example 1: tmux how to kill all sessions pkill -f tmux Example 2: linux tmux stop tmux kill-session -t <Session-ID>