- Two clocks of Linux
System clock: It is performed by the Linux kernel through the operating frequency of the CPU
Hardware clock: motherboard
- Relevant commands
Date Display and set the system time
date +%s
Hwclock, clock: display hardware clock
-s. -- hctosys takes the hardware clock as the standard and corrects the system clock
-w. -- systohc is subject to the system clock, and the hardware clock is corrected
Time zone:/etc/localtime
Display calendar: cal-y