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

Ha estat útil la resposta? 0 Els usuaris han Trobat Això Útil (0 Vots)