Skip to content

Instantly share code, notes, and snippets.

@DemitryT
Created May 15, 2012 16:22
Show Gist options
  • Save DemitryT/2703024 to your computer and use it in GitHub Desktop.
Save DemitryT/2703024 to your computer and use it in GitHub Desktop.
handy command to kill a process in one line
ps aux|grep script/rails|grep -v grep|awk '{print $2}'|xargs kill -9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment