Created
October 24, 2017 21:27
-
-
Save GuiMarthe/8f1d9f5e2c6b30dc095c2a3f44cd232e to your computer and use it in GitHub Desktop.
kill all tmux sessions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tmux ls | grep : | cut -d. -f1 | awk '{print substr($1, 0, length($1)-1)}' | xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment