Search Results

Search: Posts Made By: vikschshkr
8,836
Posted By vikschshkr
I did try this. awk 'c&&c--;/Exception/{print...
I did try this.
awk 'c&&c--;/Exception/{print NR;c=10}' logfilename.log

But, I am getting the below errors.
awk: syntax error near line 1
awk: bailing out near line 1
8,836
Posted By vikschshkr
Hi I have a request. I need to print 50 lines...
Hi
I have a request. I need to print 50 lines from a file from a certain point within the file. I will be looking for the word 'exception' within the log file and once I find it, I would like to...
Showing results 1 to 2 of 2

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