Skip to content

Instantly share code, notes, and snippets.

@byk0t
Created September 19, 2013 07:59
Show Gist options
  • Save byk0t/6620368 to your computer and use it in GitHub Desktop.
Save byk0t/6620368 to your computer and use it in GitHub Desktop.
Snippet for killing several unix processes
kill $(ps aux | grep '[p]hp /var/www/html/filename.php' | awk '{print $2}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment