|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Difference grep, egrep and fgrep
Hi All,
Can anyone please explain me the difference between grep, egrep and fgrep with examples. I am new to unix environment.. Your help is highly appreciated. Regards, ravi |
| Sponsored Links | |
|
|
|
#2
|
||||
|
||||
|
See man page Code:
man grep fgrep egrep |
| Sponsored Links | ||
|
|
|
#3
|
|||
|
|||
|
gerp Search a Pa tern from current directory.
egrep (grep -E in linux) is extended grep where additional regular expression metacharacters have been added like +, ?, | and (). fgrep (grep -F in linux) is fixed or fast grep and behaves as grep but does not recognise any regular expression metacharacters as being special. |
| The Following User Says Thank You to jagadeeb For This Useful Post: | ||
kpearson (02-07-2012) | ||
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Egrep cheat sheet anywhere? Looking for meaning of egrep -c | leelm | UNIX for Dummies Questions & Answers | 2 | 01-11-2008 02:37 PM |
| What is the main difference between grep and sed | ss4u | UNIX for Dummies Questions & Answers | 1 | 01-05-2007 03:08 AM |
| grep/awk/egrep? | whugo | UNIX for Dummies Questions & Answers | 3 | 01-19-2006 11:51 PM |
| need to grep or egrep the running processes in C file | jimmynath | UNIX for Advanced & Expert Users | 5 | 09-08-2005 04:26 PM |
| I need help with fgrep or grep | jimmy | UNIX for Dummies Questions & Answers | 7 | 11-21-2001 12:13 PM |
|
|