Skip to content

Instantly share code, notes, and snippets.

@nikos-glikis
Created August 8, 2015 08:29
Show Gist options
  • Save nikos-glikis/9245cb97695ffb700e33 to your computer and use it in GitHub Desktop.
Save nikos-glikis/9245cb97695ffb700e33 to your computer and use it in GitHub Desktop.
kill all commands that match text (ps aux)
ps aux | grep "text" | awk '{print $2}' | xargs kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment