![]() |
|
|
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 , grep | james94538 | UNIX for Dummies Questions & Answers | 3 | 10-09-2008 10:03 PM |
| Combination of find -xargs & wc -l | mr_bold | UNIX for Dummies Questions & Answers | 4 | 07-08-2008 06:07 AM |
| grep, find or awk? | netrom | UNIX for Dummies Questions & Answers | 4 | 04-09-2008 06:03 PM |
| 'find' and 'tar' combination | kharen11 | Shell Programming and Scripting | 2 | 02-06-2008 08:17 AM |
| find and grep | sarwan | High Level Programming | 4 | 04-10-2006 08:05 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Grep and find combination
Hello All,
I'm trying the following: Code:
find . -name "*" -exec grep -ln "IsAlpha" {} \;
test 1: Line 95 etc Is it possible to obtain using grep & find only. |
|
||||
|
I tried the following:
Code:
find . -name "*" -exec awk '/IsAlpha/{print NR,FILENAME}' {} \;
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|