Answer the question
In order to leave comments, you need to log in
Why is time not set in linux?
Hello!
I'm trying to set the time in linux Mint 20, but after installation it immediately goes astray, please tell me how to fix it?
#!/bin/bash
sudo hwclock --set --date="2017-08-17 20:43:36"
sudo hwclock -s
sudo date --set "Aug 17 20:43:36 2017"
date +"%b %T %Y"
[email protected]:~$ timedatectl
Local time: Вт 2020-11-17 12:24:13 MSK
Universal time: Вт 2020-11-17 09:24:13 UTC
RTC time: Чт 2017-08-17 17:43:46
Time zone: Europe/Moscow (MSK, +0300)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: no
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question