Created
June 2, 2015 12:40
-
-
Save HokieGeek/c23860bac515b1f8c745 to your computer and use it in GitHub Desktop.
Use this check all the time in scripts at work. Wondering if I can do it better...
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
ps -p $$ | awk 'END{ print $NF }' | egrep -q 't?csh' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment