Skip to content

Instantly share code, notes, and snippets.

@filipemansano
Created April 29, 2020 18:49
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 filipemansano/9147f18a9658cc1e6bde6cea5e8b1825 to your computer and use it in GitHub Desktop.
Save filipemansano/9147f18a9658cc1e6bde6cea5e8b1825 to your computer and use it in GitHub Desktop.
mata todos processo usando regex
kill $(ps aux | grep 'string contem no processo' | awk '{print $2}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment