Last active
December 14, 2017 04:16
-
-
Save mwkang/91a653626218919a5c6ab7253fcd958c to your computer and use it in GitHub Desktop.
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
| jps | awk '$2 != "Jps" {print $1}' | xargs kill |
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 `jps | cut -d " " -f 1` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment