0

How to Change/Set Hardware Date and time in linux

I want to change hwclock date and time in linux, how can be done that

Hardware Add a comment
lucas
asked Dec 10 2019

Answer

0

Answer:

To change hwclock date and time in linux, use the following command

Change date and time

[root@localhost ~]# hwclock --set --date "8/12/2019 23:10:45"

Only for time update

[root@localhost ~]# hwclock --set --date "09:10:45"
Add a comment
linuxhelp
asked Dec 10 2019
Post your Answer