In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to quickly modify the system time under Linux", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's ideas slowly in depth, together to study and learn "how to quickly modify the system time under Linux"!
At the beginning, or there is a saying on the Internet, for example, set the time to 18:30:50 on 2014-07-12.
We will set the date first.
Date-s 20140712
Reschedule
Date-s 18:30:50
It's okay to talk about a machine, but if you have more, you'll get bored. Is there an one-step solution? After several searches, we found that there is!
Date 071218302014 (month, day, hour and year)
This can be done in one step. But! But what, for Linux, this way of writing is too human, too hard to remember. Is there an easier way? After several explorations, I found that there was!
Date-s "20140712 18:30:50"
In this way, it can be achieved in one step, and it is easy to remember. I've been using it for a long time. I don't tell him about ordinary people, Xu.
When the time is set, it will be saved. It's okay if you turn it off normally. The system will be saved once when the system is turned off, but if you may not shut down properly, you can save the settings first.
Hwclock-systohc
Yes, that's what it says. Most of the words on the Internet are
Clock-w
Or
Hwclock-w
If you analyze it carefully, you will know that clock is the soft link of hwclock. The parameter-w is not mentioned at all in hwclock's help and man. I don't know what year-w is written.
Thank you for your reading, the above is the content of "how to quickly modify the system time under Linux". After the study of this article, I believe you have a deeper understanding of how to quickly modify the system time under Linux. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.