1. Two clocks of Linux

System clock: It is performed by the Linux kernel through the operating frequency of the CPU

Hardware clock: motherboard

  1. 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

Was this answer helpful? 0 Users Found This Useful (0 Votes)