[CentOS] Grep: show me this line and the next N lines?
Jon Detert
jdetert at infinityhealthcare.comTue Jun 7 12:40:21 UTC 2011
- Previous message: [CentOS] Grep: show me this line and the next N lines?
- Next message: [CentOS] text-mode system and /media
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----- Original Message ----- From: "Dotan Cohen" <dotancohen at gmail.com> To: "CentOS mailing list" <centos at centos.org> Sent: Tuesday, June 7, 2011 1:20:20 AM Subject: Re: [CentOS] Grep: show me this line and the next N lines? On Tue, Jun 7, 2011 at 05:26, Kenneth Porter <shiva at sewingwitch.com> wrote: > --On Tuesday, May 31, 2011 1:08 AM +0300 Dotan Cohen <dotancohen at gmail.com> > wrote: > >> Can grep show the matching lines and the next N lines after a match? grep -A N see http://linux.die.net/man/1/grep
- Previous message: [CentOS] Grep: show me this line and the next N lines?
- Next message: [CentOS] text-mode system and /media
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list