Results 1 to 2 of 2
How do I have the expression below only return an exact match on port 25? It is returning /25 /2534 /25 etc.
I need the expresion below to return only ...
- 06-25-2004 #1Just Joined!
- Join Date
- Jun 2004
- Posts
- 8
SYSLO Grepping
How do I have the expression below only return an exact match on port 25? It is returning /25 /2534 /25 etc.
I need the expresion below to return only the exact match
ex: to outside: "IP Address"/25 only.
egrep "to outside:[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\/25" /var/log/messages
Any help would be appreciated.
Gregg
- 06-25-2004 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
Locked. Please continue in other thread you started about this...
http://www.linuxforums.org/forum/viewtopic.php?p=104749



