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

Ця відповідь Вам допомогла? 0 Користувачі, які знайшли це корисним (0 Голосів)