Want to view .gz file contents from particular text onwards. [message #659010] |
Wed, 04 January 2017 02:50 |
Manoj.Gupta.91
Messages: 239 Registered: March 2008 Location: Delhi
|
Senior Member |
|
|
Hi All,
I've a huge .gz file which contain only one big log file. I want to see contents of that file from particular text onwards.
Eg. File
This is my first file.
It is used as sample.
I want to see it's contents by scrolling down.
How can I do it.
Eg. I want to search "sample" and see file contents from first occurrence onward.
I can use
zcat filename
zcat filename | grep sample
zgrep sample
but these commands only show me particular lines where as I want to scroll down from first occurrence.
Thanks & Regards
Manoj
|
|
|
|
|