Created
November 14, 2021 14:35
-
-
Save viper25/9c3eb9936986cd6693ad17d16cc1650b to your computer and use it in GitHub Desktop.
Find a process and kill it
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
ps -ef | grep 'mybot' | grep -v grep | awk '{print $2}' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment