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
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs



Support Our Work

ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.

Learn More”>
	</a>

<hr>		    
			</div>
		    		</div>

		<div class=