Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the clock command of linux to adjust the RTC time

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of linux clock command to adjust the RTC time, the article is very detailed, has a certain reference value, interested friends must read it!

The clock command adjusts the RTC time. RTC is the built-in hardware time of the computer. Executing this instruction can display the present time, adjust the time of the hardware clock, set the system time to the same time as the hardware clock, or save the system time back to the hardware clock.

Syntax format: clock [parameters]

Common parameters:

Reference example

Displays the current hardware clock time:

[root@linuxcool ~] # clock Thursday, December 12, 2019, 15:11:07-0.578708 seconds

Displays the utc hardware clock time:

[root@linuxcool] # clock-- UTC on Thursday, December 12, 2019, 15:12:30-0.442566 seconds

Synchronization time:

[root@linuxcool ~] # clock-the above is all the contents of adjusting RTC time using linux's clock command, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report