- Linux Shell Scripting Cookbook(Third Edition)
- Clif Flynt Sarath Lakshman Shantanu Tushar
- 52字
- 2021-07-09 19:46:05
Getting ready
Dates can be printed in a variety of formats. Internally, dates are stored as an integer number of seconds since 00:00:00 1970-01-01. This is called epoch or Unix time.
The system's date can be set from the command line. The next recipes demonstrate how to read and set dates.