pidof finds the process id's (pids) of the named programs. It prints those id's on the standard output. This Linux pidof port is intended to help porting scripts.