Created
August 6, 2019 10:23
-
-
Save Kyborg2011/1c19eb64ca6eef62ef65fe251fdb1f14 to your computer and use it in GitHub Desktop.
Kill all processes, fended by 'ps' command with some search string (grep)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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