Last active
December 21, 2015 07:58
-
-
Save akkerman/6274622 to your computer and use it in GitHub Desktop.
check if a certain program is running on linux without it returning the grep command itself e.g. `psgrep apache`
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 -ef | grep -v grep | grep -i --color=auto $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment