Tag Archives: epoch time

Shell Script: Epoch Time to Human Readable Time

shell script

Log files are sometimes written with epoch timestamps. To analyse the log file entries, we will first need to convert the time to a human readable format. In this article, we will look at a few available methods to convert the epoch time to real time or human readable time.

Shell Script: Get Epoch Time

shell script

Unix time, POSIX time or Epoch time is defined as the number of seconds that have elapsed since 00:00:00 January 1, 1970 UTC. There are a few methods to retrieve the Epoch time on Unix and Linux.