![]() |
|
|
|
|
|||||||
| 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 | christine33990 | UNIX for Dummies Questions & Answers | 11 | 05-05-2008 11:45 PM |
| how to exclude the GREP command from GREP | yamsin789 | UNIX for Advanced & Expert Users | 2 | 10-04-2007 11:59 PM |
| grep command help | ishmael^soyuz | Shell Programming and Scripting | 4 | 07-11-2007 06:01 AM |
| grep command | pmsuper | UNIX for Dummies Questions & Answers | 6 | 11-22-2006 04:12 AM |
| grep command | debasis.mishra | Shell Programming and Scripting | 1 | 03-27-2006 10:53 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
grep command
can you help me about followings, what they do
grep a b c grep 'boswana.*birds' *.htm* |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
if you have access to a UNIX system, type:
Code:
man grep |
|
#3
|
|||
|
|||
|
Grep is basically a search command.
It has many different uses, below are the ones I'm aware of; Code:
grep -i *whatever your searching for * Code:
/usr/ucb/ps -auxwwww | grep *whatever* |
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
||||
|
||||
|
Quote:
Code:
[ysawant@sms104a smsc]$ grep -i *whatever your searching for * grep: your: No such file or directory grep: searching: No such file or directory grep: for: No such file or directory [ysawant@sms104a smsc]$ Code:
grep -i "*whatever your searching for" * |
||||
| Google The UNIX and Linux Forums |