On Thu, Jul 26, 2012 at 6:24 PM, Balasubramaniam Natarajan <
[email protected]> wrote:

>
> However how can I get to do both of these in the same line so that their
> outputs are interleaved ?
>

You can use -e or --regexp to match multiple patterns, like
grep -e "Network Activity" -e "MD5 "

But I'm not sure if it's possible to say -A5 to only one of the patterns.


-- 
Vignesh Nandha Kumar
http://vigneshnandhakumar.in
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to