Skip to content

Instantly share code, notes, and snippets.

@RitterNorbert
Created March 18, 2016 12:53
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 RitterNorbert/b8b99d3fba7818a77654 to your computer and use it in GitHub Desktop.
Save RitterNorbert/b8b99d3fba7818a77654 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
@oshanz
Copy link

oshanz commented Nov 27, 2019

thanks

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