On Thu, 27 May 2004 16:34:53 +1200 Jim Cheetham <[EMAIL PROTECTED]> wrote:
> Grepping for things works best when you know in advance what they are > supposed to be :-) so you could try "$ dmesg | grep eth" but that would > only match the literal lines, and might miss the error emssages around > them. "$ dmesg | grep -A 3 -B 3 eth" will give three lines either side > of the matches ... as will grep -C 3 A=after B=before C=context, ie A and B -- Nick Rout <[EMAIL PROTECTED]>
