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] 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 - 11:26:48 ART
This archive was generated by hypermail 2.2.0 : Sat Aug 01 2009 - 13:10:22 ART