Skip to content

Instantly share code, notes, and snippets.

@le0park
Created April 24, 2019 03:17
Show Gist options
  • Save le0park/9c0d71785acaa30f79ab865882812802 to your computer and use it in GitHub Desktop.
Save le0park/9c0d71785acaa30f79ab865882812802 to your computer and use it in GitHub Desktop.
Kill many instances of a running process
for pid in $(ps -ef | awk '/some search/ {print $2}'); do kill -9 $pid; done
@le0park
Copy link
Author

le0park commented Apr 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment