![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find a file modified yesterday and print it! | Ariean | UNIX for Dummies Questions & Answers | 5 | 12-27-2008 10:08 PM |
| find grep and list file name | bill.zheng | Shell Programming and Scripting | 4 | 11-19-2008 02:42 AM |
| How to grep a number in a file to find them in another file | ahjiefreak | Shell Programming and Scripting | 7 | 12-12-2007 06:01 AM |
| search for the contents in many file and print that file using shell script | cdfd123 | Shell Programming and Scripting | 3 | 10-07-2007 10:17 PM |
| how to use the grep to find detail in a file | etravels | SUN Solaris | 1 | 03-10-2004 02:03 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
find file grep it and print file name
i am trying to search a few hundred release note text files for a certain word. however when i use the below command i can find a file that contains it but i dont know the file name. how can i change this command to output the name of the file that grep was successful in?
find builds -name *ReleaseNotes* | xargs cat | grep -i xml |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|