Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save iMagesh/98f74c22764c594822f55b1f80cb8101 to your computer and use it in GitHub Desktop.
Save iMagesh/98f74c22764c594822f55b1f80cb8101 to your computer and use it in GitHub Desktop.
kill $(ps aux | grep '[d]elayed_job' | awk '{print $2}')
Credit:
http://stackoverflow.com/questions/3510673/find-and-kill-a-process-in-one-line-using-bash-and-regex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment