Search Results

Search: Posts Made By: pnemeth
6,645
Posted By pnemeth
Thank you very much, you saved me a lot of time!...
Thank you very much, you saved me a lot of time! It helped and this works perfect:
find ~/modeling*/fitting.log |xargs -ix bash -c "tac x|grep -m 3 -e ITER|tac"

cheers
6,645
Posted By pnemeth
grep: get last 3 lines containing PATTERN from many files
Hi all,

I am looking for a quick solution for this:

I have many log files of an iterative program, and I would like to display the parameters of the last three iteration from each of those...
Showing results 1 to 2 of 2

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