Created
September 25, 2013 09:24
-
-
Save twetzel/6697178 to your computer and use it in GitHub Desktop.
pkill for mac
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
#!/bin/sh | |
for that in `ps acx | grep -i $1 | awk {'print $1'}`; do | |
kill $that; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dont know where I found this anymore .. so sorry cant tell an author