Should the pgrep command be available in OS X 10.7.5 I posted this question on stackexchange and was told in no uncertain terms that my system was broken because pgrep did not exist in /usr/bin

This has me worried, my system is stable and I am sure I did not 'accidentally' delete pgrep from the /usr/bin directory.

I checked one of my other (newer systems) and indeed pgrep is available.

Is pgrep shipped by Apple in 10.7.5?
No, it's not shipped until 10.8 so you'll need to get it elsewhere for 10.7 and earlier.

Starting with OS X 10.8 Mountain Lion, the pgrep command should be in /usr/bin/.

In a Terminal type the following and press enter.

whereis pgrep


Looking at the contents of the InstallESD.dmg from "Install Mac OS X Lion.app", pgrep is not present.