![]() |
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 |
| files of size 0 need to be deleted inside a directory | namishtiwari | Shell Programming and Scripting | 2 | 01-28-2008 04:11 AM |
| How to see directory and the files inside it. | shaan_dmp | UNIX for Advanced & Expert Users | 4 | 12-17-2007 05:48 AM |
| How to delete Directory and inside files using Find command | bmkreddy | SUN Solaris | 3 | 07-10-2007 02:35 PM |
| Searching files in a directory.Urgent | srivsn | Shell Programming and Scripting | 7 | 12-12-2005 03:19 AM |
| Pattern searching inside Variable - not looking at files | Rediranch | UNIX for Dummies Questions & Answers | 3 | 06-07-2005 02:07 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
searching files inside directory
hey,
i need to use grep to search a bunch of header files inside a directory to return which file i can find the function i'm searching for in. how do i use wild cards to search through the files? i can only figure out how to search inside the directory, not inside the files that are in the directory. thanks |
|
||||
|
Or if your grep supports -r, simply
Code:
grep -r 'search expression' directory |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|