Translate

Image of Operating System Concepts
Image of Beginning Google Maps API 3
Image of Modern Operating Systems (3rd Edition)
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)

GNU Coreutils Epoch Date Support

GNU coreutils 5.3.0 added the very useful @ operator to the date command to enable users to easily convert seconds since the Unix Epoch into date strings.

$ date
Mon Mar 17 21:31:15 EDT 2014
$ date +%s
1395106277
$ date -d'@1395106277'
Mon Mar 17 21:31:17 EDT 2014
$ date --date='@1395106277'
Mon Mar 17 21:31:17 EDT 2014
$

Comments are closed.