smux-prune(1)
π smux-prune π
okay so welcome to the smux-prune(1) page from the General Commands Manual β it's giving cleanup era, and honestly? iconic. This is the little command that handles detached tmux sessions so you don't have to.
β¨ NAME β¨
smux-prune β kills all detached tmux sessions. periodt. π§Ή
π SYNOPSIS π
smux-prune [-h|--help]
π DESCRIPTION π
Bestie, the vibe check is simple: smux-prune kills every tmux session that has no attached client. The session you're currently attached to is preserved β protected, safe, main character energy. π
But lowkey important: if you're outside tmux, all sessions are detached, which means they all get killed. no cap. π
outside tmux = every session is detached = every session will be killed. That's the whole point, but also bestie, be aware. π
π OPTIONS π
-h,--helpβ prints help; see a summary with-h(yes, it's literally that, iykyk). π«Ά
mwah π β that's the whole page. footer energy: source/version smux-prune, page smux-prune(1), manual General Commands Manual, and no date printed, so we're calling it timeless β¨π°οΈ. slay.
π¦ where this page comes from
- nixpkgs unstable: smux 0.6.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms