home
NOTE: Under Construction - I'm in the middle of upgrading my site and lots of stuff is kinda broken. Please forgive the mess.

Killing tmux Sessions

June 2021

This is from an old set of notes I found. Need to check out the kill all command to verify it's still accurate.

### Kill A Named Session

Code
tmux kill-session -t $NAME_OF_SESSION

### Kill All Sessions from Command Line

Code
tmux ls | grep : | cut -d. -f1 | awk '{print substr($1, 0, length($1)-1)}' | xargs kill
═══ § ═══