Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phynet/d90118045bc353d9ae94 to your computer and use it in GitHub Desktop.
Save phynet/d90118045bc353d9ae94 to your computer and use it in GitHub Desktop.
Kill all process that matches a given partial name

##Kill all process that matches a given partial name

search all process runing that match a given name. For this example is "process"

ps -ef | grep "process"

Kill all the processes that match with "process" string

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