Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save daniDLL/94459f938d74f3d67cdf3e8a78b195d6 to your computer and use it in GitHub Desktop.
Save daniDLL/94459f938d74f3d67cdf3e8a78b195d6 to your computer and use it in GitHub Desktop.
kill all process under a name
kill -9 `ps -ef | grep 'pattern' | awk '{print $2}'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment