Created
November 6, 2019 18:09
-
-
Save cnmoro/9a5997ccff986a5c4c164d2a883be6f0 to your computer and use it in GitHub Desktop.
Linux kill process by name
This file contains hidden or 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 your_process_name | grep -v grep | awk '{print $2}' | xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment