Skip to content

Instantly share code, notes, and snippets.

@kubrick06010
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save kubrick06010/ec394ce54a7897996df4 to your computer and use it in GitHub Desktop.

Select an option

Save kubrick06010/ec394ce54a7897996df4 to your computer and use it in GitHub Desktop.
One liner para matar procesos (BASH)
kill `ps cax | grep -i '<nombre del proceso>'| awk -F\- '{print substr($1,2,6)*1}'`
kill `ps cax | grep -i '<nombre del proceso>' | cut -c 2-5`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment