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
241 B
241 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}}