Live Chat Software
Click for live chat
WebTop

Linux command Hwclock by live chat help support software expert mioot.com

Linux command Hwclock - Help with Linux syntax & live chat help support software solution provider for business websites by mioot.com

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

hwclock

 

hwclock [option]

System administration command. Read or set the hardware clock. This command maintains change information in /etc/adjtime, which can be used to adjust the clock based on how much it drifts over time. hwclock replaces the clock command. The single-letter options are included for compatibility with the older command.
Options

You may specify only one of the following options:
-a, --adjust

Adjust the hardware clock based on information in /etc/adjtime and set the system clock to the new time.

--getepoch

Print the kernel\'s hardware clock epoch value, then exit.

-r, --show

Print the current time stored in the hardware clock.

-s, --hctosys

Set the system time in accordance with the hardware clock.

--setepoch, --epoch=year

Set the hardware clock\'s epoch to year.

--set --date=date

Set the hardware clock to the specified date, a string appropriate for use with the date command.

-v, --version

Print version and exit.

-w, --systohc

Set the hardware clock in accordance with the system time.

The following may be used with the above options.
--debug

Print information about what hwclock is doing.

--localtime

The hardware clock is stored in local time.

--noadjfile

Disable /etc/adjtime facilities.

--test

Do not actually change anything. This is good for checking syntax.

-u, --utc

The hardware clock is stored in Universal Coordinated Time.

 

How would you rate the usefulness of this content?
1 2 3 4 5
Poor Outstanding
Spam Verification
Spam Verification Code

Content rating:




people have rated this content.

 
If you are having trouble in using Hwclock linux command , please live chat with our Linux expert and web hosting live support professional 24X7 for online live help 24x7.


Related Linux commands
  hwclock
hexdump
host
hdparm
head
halt
htdigest
hostname
hostid