Does anyone have a little script for me that will find the last record in a file containing duplicates ?
I have a log file with many similar lines of data (only the date time changes) and I want to find the last occurance of a specific string
eg grep "string_value" log_file | (get last entry)
I have a log file with many similar lines of data (only the date time changes) and I want to find the last occurance of a specific string
eg grep "string_value" log_file | (get last entry)