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 Гласови)