Skip to content

Instantly share code, notes, and snippets.

@metalelf0
Created October 9, 2014 08:35
Show Gist options
  • Save metalelf0/546b26ee399c40566363 to your computer and use it in GitHub Desktop.
Save metalelf0/546b26ee399c40566363 to your computer and use it in GitHub Desktop.
tmux list-panes -s -F "#{pane_pid} #{pane_current_command}" | grep -v tmux | awk '{print $1}' | xargs kill -9
@metalelf0
Copy link
Author

Kills all processes inside current tmux session, without killing tmux itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment