Created
September 25, 2015 16:39
-
-
Save rushipkar90/2858b6728322d2710a2b to your computer and use it in GitHub Desktop.
killallproc.sh
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
#!/bin/bash | |
ps aux | grep $1 | grep -v root | awk '{print $2}' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment