A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 21:36:05 +01:00
|
|
|
# pgrep
|
|
|
|
|
|
|
|
> Find or signal process by name
|
|
|
|
|
|
|
|
- return PIDs of any running processes with a matching command string
|
|
|
|
|
|
|
|
`pgrep {{Finder}}`
|
|
|
|
|
|
|
|
- case insensitive greping
|
|
|
|
|
2014-02-10 22:18:10 +01:00
|
|
|
`pgrep -i {{fireFOx}}`
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 21:36:05 +01:00
|
|
|
|
|
|
|
- kill all processes which match
|
|
|
|
|
2014-02-10 22:18:10 +01:00
|
|
|
`pkill -9 {{Finder}}`
|