Created
June 5, 2017 21:57
-
-
Save kashav/e184ada9f01d6afd559873bcf3d247f4 to your computer and use it in GitHub Desktop.
Kill all active Chrome tabs
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
#!/usr/bin/env bash | |
ps ux | grep '[C]hrome Helper --type=renderer' | grep -v extension-process | tr -s ' ' | cut -d ' ' -f2 | xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment