tldr/osx/pgrep.md
2014-02-10 13:18:10 -08:00

243 B

pgrep

Find or signal process by name

  • return PIDs of any running processes with a matching command string

pgrep {{Finder}}

  • case insensitive greping

pgrep -i {{fireFOx}}

  • kill all processes which match

pkill -9 {{Finder}}