Get Processes (PIDs) Related to a Command

#codesnippet #shell

ps -eaf | grep <cmd_name>