Skip to content

Instantly share code, notes, and snippets.

@tkuchiki
Created September 27, 2013 08:13
Show Gist options
  • Save tkuchiki/6725544 to your computer and use it in GitHub Desktop.
Save tkuchiki/6725544 to your computer and use it in GitHub Desktop.
ps & awk & kill で 複数プロセスを一気に kill
ps aux | grep http[d] | awk '{ print "kill -9", $2}' | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment