This might be one of the geekiest things I've posted here, but it is about the most useful line of perl code I've come across recently and I don't want to lose it.
perl -pe 's/(\d+)/localtime($1)/e'
It converts epoch time to local time when looking at a log file.

Leave a comment