Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Last active March 14, 2019 06:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save miguelmota/a7f3c8bc38e0cb56a7d6ade2b3051d34 to your computer and use it in GitHub Desktop.
Save miguelmota/a7f3c8bc38e0cb56a7d6ade2b3051d34 to your computer and use it in GitHub Desktop.
Bash grep kill multiple processes example
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