By default Ubuntu use universal time (UTC) for real time clock (RTC) while Windows use local time for real time clock (RTC) that cause different time between OS.
To fix this we can change Ubuntu use local time.
#!/usr/bin/env bash # Set ubuntu use local time sudo timedatectl set-local-rtc 1 --adjust-system-clock # Check setting timedatectl exit 0
Latest posts by Kawin Viriyaprasopsook (see all)
- Convert flac audio to ogg/mp3 - 2020-12-20
- Fix systemd resolved not working (127.0.0.53) - 2019-09-23
- Safely remove SATA disk from a running Linux system - 2019-05-24