RE: ot - zcat and cat unix commands to search syslogs

From: Ryan West <rwest_at_zyedge.com>
Date: Fri, 17 Jul 2009 16:33:58 -0400

192\.168\.12\.0||192\.168\.12\.0

That should work.

From: belletjetrekken [mailto:belletjetrekken_at_gmail.com]
Sent: Friday, July 17, 2009 4:27 PM
To: Ryan West
Cc: Cisco certification
Subject: Re: ot - zcat and cat unix commands to search syslogs

how do i search for the same term listed twice in the same line ? for example
192.168.12. listed twice in the same log ?
On Fri, Jul 17, 2009 at 10:26 AM, Ryan West
<rwest_at_zyedge.com<mailto:rwest_at_zyedge.com>> wrote:
Grep -E "Built|Teardown" log file

Or in your case, cat logfile | grep -E "Built|Teardown" -

-ryan

-----Original Message-----
From: nobody_at_groupstudy.com<mailto:nobody_at_groupstudy.com>
[mailto:nobody_at_groupstudy.com<mailto:nobody_at_groupstudy.com>] On Behalf Of
belletjetrekken
Sent: Friday, July 17, 2009 11:12 AM
To: Cisco certification
Subject: ot - zcat and cat unix commands to search syslogs

hi,

what command do i need to search the syslog file for lines that contain
either or Built or Teardown ?

i only know how to do it for one or the other, but i don't know how to do it
where it pulls up either or ?

i just know grep and grep -v

thank you !

belletjetrekken

Blogs and organic groups at http://www.ccie.net
Received on Fri Jul 17 2009 - 16:33:58 ART

This archive was generated by hypermail 2.2.0 : Sat Aug 01 2009 - 13:10:22 ART