Created
August 25, 2014 02:07
-
-
Save t17a/c066434a4645dc24046f to your computer and use it in GitHub Desktop.
pidof shell script for mac by reference to http://hints.macworld.com/article.php?story=20030618114543169
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/sh | |
ps axc|awk "{if (\$5==\"$1\") print \$1}"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment