In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to modify Linux system time". The explanation in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and go deep into it slowly to study and learn "how to modify Linux system time" together.
---We usually use the "date -s" command to modify the system time. For example, the command to set the system time to June 10, 1996 is as follows.
#date -s 06/10/96
The command to set the system time to 1:12:00 PM is as follows.
#date -s 13:12:00
---Note that this is system time, Linux is maintained by the operating system.
At system startup, the Linux operating system reads the time from CMOS into the system time variable, and later modifies the time by modifying the system time. To keep system time consistent with CMOS time, Linux writes system time to CMOS at regular intervals. Since this synchronization is performed at intervals (approximately 11 minutes), if we restart the machine immediately after we execute date -s, it is possible that the modified time is not written into CMOS, which is the cause of the problem. To ensure that changes take effect, execute the following command.
---- #clock -w
----This command forces system time to be written to CMOS
Thank you for reading, the above is "Linux system time how to modify" the content, after the study of this article, I believe that everyone on Linux system time how to modify this problem has a deeper understanding, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.