Get the last line in a file that matches a pattern
By :
Ron
( Thu Jul 31 13:33:29 2003 )
grep pattern log.out | perl -e '@file=<> $last=pop(@file); print $last'
Return to article...
UNIXguide.net
English to Cebuano Dictionary
Suggest a Site
Cebuano to English Dictionary