Next | Welcome to my ~/bin | 66 |
pgrep pattern files...
pgrep -I pattern # List of files is on STDIN
pgrep -u ... # Unbuffered output
Plus a sprinkling of standard options:
-e pattern specify pattern -h omit filenames -i case-insensitive match -l print filenames only -q print nothing -v invert matching
I left out about twenty others
Who the heck needs grep -c???
grep ... | wc -l
Who the heck needs grep -n???
grep ... | cat -n
Sheesh, talk about overengineering
Next | Menu | Copyright © 2005 M. J. Dominus |