Understanding Epoch Time in Linux

By

These handy commands can help you deal with dates and times.

Epoch time plays an important role in Unix and Linux systems in a “behind the scenes” kind of way, says Sandra Henry-Stocker.

“Epoch time is based on the number of seconds since 00:00:00 on January 1, 1970, and is used to record dates/times on Linux systems in an abbreviated format,” she notes.

This article shows how you can “use the stat command to view dates and times associated with Linux files” and how to use the date command for handy conversions to display the current time in the epoch format.

Learn more at Network World
 
 

 
 
 

03/25/2024

Related content

comments powered by Disqus