Skip to content

Instantly share code, notes, and snippets.

@KhanMaytok
Forked from pgaref/gist:07ab9fa9b6208517a329
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KhanMaytok/00d7ee24f5208f8fe309 to your computer and use it in GitHub Desktop.
Save KhanMaytok/00d7ee24f5208f8fe309 to your computer and use it in GitHub Desktop.
for var in $(ps aux | grep ansible | awk '{print $2}'); do echo $var; sudo kill -9 $var; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment