This is a discussion on word search in directory within the Coding in General forums, part of the Development/Scripting category; Hi, If i give a word from command line then it should give me the name of files which contain ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
| Sponsored Links | ||
|
|
|
||||
|
Use grep command to search a word recursively in a current directory
Code:
grep -R 'word' *
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
| Tags |
| grep , shell |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| word search in file | chandanperl | Coding in General | 2 | 03-11-2008 11:16 AM |
| pattern search with numbers | mercuryshipz | Coding in General | 0 | 02-15-2008 12:16 AM |
| find a word in a file, and change a word beneath it ?? | vikas027 | Shell scripting | 2 | 02-14-2008 01:53 AM |
| Search Pattern And Arrays | mercuryshipz | Coding in General | 1 | 02-11-2008 03:26 PM |
| user pass word | sparky | Shell scripting | 1 | 06-26-2006 08:19 PM |