From d2932183d2aec5304c829548edc619d4330e2534 Mon Sep 17 00:00:00 2001 From: Dylan Rees Date: Mon, 23 May 2016 00:11:30 -0400 Subject: [PATCH] Create hwclock.md --- pages/linux/hwclock.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/hwclock.md diff --git a/pages/linux/hwclock.md b/pages/linux/hwclock.md new file mode 100644 index 0000000000..648cb10467 --- /dev/null +++ b/pages/linux/hwclock.md @@ -0,0 +1,15 @@ +# hwclock + +> Used for reading or changing the hardware clock. Usually requires root. + +- Display the current time as reported by the hardware clock: + +`hwclock` + +- Write the current software clock time to the hardware clock (sometimes used during system setup): + +`hwclock --systohc` + +- Write the current hardware clock time to the software clock: + +`hwclock --hctosys`