SUMMARY: find

From: Don Jones <donunix_at_yahoo.com>
Date: Wed Feb 27 2002 - 13:34:50 EST
Thank you all for your help.
Two solution:

find / -type f -exec grep -l cad_orc {} \;
or
find / -type f -print | xargs grep cad_orc

-DJ
  ----- Original Message -----
  From: Don Jones
  To: sunmanagers@sunmanagers.org
  Sent: Wednesday, February 27, 2002 9:10 AM
  Subject: find


  Hello,

  I am trying to user find to search for a word in hunders of files and
directory,
  I did this:
  find / -type f -exec grep cad_orc {} \;

  The command above finds the this word, but I can't tell what file and the
path
  to that file..
  Is there a way to find this word and print the file name that has it, and
it's path?
  Also, is there a support group for unix questions?

  Thank you
  DJ
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Feb 27 14:04:22 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:35 EST