Skip to content

Instantly share code, notes, and snippets.

@Kyborg2011
Created August 6, 2019 10:23
Show Gist options
  • Save Kyborg2011/1c19eb64ca6eef62ef65fe251fdb1f14 to your computer and use it in GitHub Desktop.
Save Kyborg2011/1c19eb64ca6eef62ef65fe251fdb1f14 to your computer and use it in GitHub Desktop.
Kill all processes, fended by 'ps' command with some search string (grep)
kill $(ps aux | grep 'telegramapi.py' | awk '{print $2}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment