Search Results

Search: Posts Made By: omega3
2,348
Posted By omega3
Grep for the string and then print the next 4 lines
RHEL 5.8

I have a text file like below. I want to grep for a string and then print the next 4 lines including the line with the string I grepped for

For eg:

I want grep for the string HANS...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 08:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy