Linux PGREP Command

pgrep command returns the process IDs that match it.for example,you could use the following command to find firefox's PID.

Syntax

$pgrep [process_name]

Example


$pgrep firefox
							
Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit