On Fri, 22 Oct 1999, you wrote:
> Does anybody know what the grep command do?
Searches, essentially. For example, type the following at a
command prompt:
rpm -qa | grep sendmail

that will show you all the packages you have installed
which have "sendmail" as part of their name. Or you can try
"cat <somefilename> | grep <something>" and that will
search a specific file (typically a log file) for all
occurrances of whatever you're requesting and print 'em all
out for you on the screen. It's a very handy utility. :-)
        John

Reply via email to