Forked from v9n/kill_all_process_with_a_name_pattern.sh
Created
April 8, 2020 11:18
-
-
Save daniDLL/94459f938d74f3d67cdf3e8a78b195d6 to your computer and use it in GitHub Desktop.
kill all process under a 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
kill -9 `ps -ef | grep 'pattern' | awk '{print $2}'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment