![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| grep command | agathaeleanor | Shell Programming and Scripting | 2 | 01-19-2008 07:04 AM |
| how to exclude the GREP command from GREP | yamsin789 | UNIX for Advanced & Expert Users | 2 | 10-04-2007 11:59 PM |
| grep -f command | marwan | UNIX for Dummies Questions & Answers | 2 | 06-30-2007 12:15 PM |
| grep command | debasis.mishra | Shell Programming and Scripting | 1 | 03-27-2006 10:53 PM |
| grep command-HELP?! | BlueOysterCult | UNIX for Dummies Questions & Answers | 7 | 11-17-2003 07:46 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
regarding grep command
hi
i am sankar pls help me how to find out the how many times the given word is existed in a givein file using grep command |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
You can use tr to transform the spaces in newlines and grep the result using the -c and -w options. Read the regarding manpages.
Regards |
|||
| Google The UNIX and Linux Forums |