Search Results

Search: Posts Made By: DaddyShortLegs
8,415
Posted By DaddyShortLegs
You could do something much simpler: tail...
You could do something much simpler:

tail -1000 filename | grep 'word' | wc -l

This will count the the number of lines that word appears in the last 1000 lines of the file (or less if there are...
Showing results 1 to 1 of 1

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