Linux Clock Settings
The Linux operating system, also known as a distro, clock runs independently of the BIOS or hardware clock. Setting the system’s (distro) clock according to the hardware’s clock
1 |
hwclock -s or hwclock -- requires using one of the hctosys commands |
Setting the system clock manually (user input)
1 |
date -s "2009-11-20 16:18" |
Setting the hardware clock according to the distro’s clock
1 |
hwclock --systohc |
Setting the hardware clock manually (user input)
1 |
hwclock --set --date "13 Dec 2007 14:13" |
To synchronize the hardware and the distro clock using crontab
1 |
* */10 * * * /sbin/hwclock -s > /dev/null 2>&1 |
Silent Install
12 March 2019