Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Killing tmux Sessions

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