Skip to content

Instantly share code, notes, and snippets.

@atelic
Created July 8, 2015 04:00
Show Gist options
  • Save atelic/9bbab33afe1c68fcb53e to your computer and use it in GitHub Desktop.
Save atelic/9bbab33afe1c68fcb53e to your computer and use it in GitHub Desktop.
Kill tmux and all processes it spawned
tmux list-panes -s -F "#{pane_pid} #{pane_current_command}" | grep -v tmux | awk '{print $1}' | xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment