Created
May 3, 2019 07:06
-
-
Save jvorcak/617f7ea36b8f739caa8981b3de19a95e to your computer and use it in GitHub Desktop.
kill specific tmux sessions based on awk expression
This file contains 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 list-sessions | awk 'BEGIN{FS=":"}{print $1}' | xargs -n 1 tmux kill-session -t | |
source (https://askubuntu.com/a/1014428) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment