Unix Timestamp to Date
728

When you face with Log Files with Unix Timestamp, it's making it harder to recognize exact timings. For this you don't need to change any structure or modify data on logs, there is an easy way to transform Unix Timestamp to Date by using Perl.

tail -f /var/logname.log | perl -pe 's/(d+)/localtime($1)/e'
If you are looking for consultation, fill the Contact Form below.
Know thyself, know thy enemy. A thousand battles, a thousand victories. Sun Tzu
Haluk YAMANER - Personal
Contact Form
You must complete Security Verification to submit your form.