Re: Limit output

From: garry baker <baker.garry_at_gmail.com>
Date: Thu, 12 Aug 2010 17:53:02 +0300

R1#sh run linenum | include ( 1 : )|( 2 : )
     1 : !
     2 : version 12.4
R1#

--
Garry L. Baker
"There is no 'patch' for stupidity." - www.sqlsecurity.com
On Thu, Aug 12, 2010 at 5:28 PM, Muzammil Malick <malickmuz_at_gmail.com>wrote:
> Hi Guys
>
> Is there a way to use the pipe command to only show the first 2 lines
> of "sh run" output
>
> e.g. sh run |
>
> If the pipe cannot be used is there any other way to do this?
>
> Thanks in advance
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Thu Aug 12 2010 - 17:53:02 ART

This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART