Created
September 13, 2023 14:17
-
-
Save james-see/54ca84fedff87a059753c151ba9fa807 to your computer and use it in GitHub Desktop.
one liner to kill a list of pattern matching processes, in this example selenium
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
sudo ps -ef | grep selenium | cut -d\ -f4 | xargs kill -9; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment