Last active
March 14, 2019 06:18
-
-
Save miguelmota/a7f3c8bc38e0cb56a7d6ade2b3051d34 to your computer and use it in GitHub Desktop.
Bash grep kill multiple processes example
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
ps aux | grep -i "Chrome" | awk '{print $2}' | xargs sudo kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment