|
|
set hardware date/time in linux - Linux
|
Views : 358
|
|
Tagged in : Linux
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
set system hardware date/time in linux:
Display current date/time in linux
Use date command to display current timing in linux as,
[root@localhost ~]# hwclock
Thu 24 Dec 2009 01:40:29 AM IST -0.677351 seconds
To change or set system date/time in linux use date command as,
hwclock --set --date='08/4/09 21:08:40' --localtime
for eg,
[root@localhost ~]# hwclock --set --date='12/24/09 01:40:25' --localtime
Display the time using,
[root@localhost Desktop]# hwclock
Thu 24 Dec 2009 01:40:29 AM IST -0.677351 seconds |
|
By Ramya, On - 2009-12-24 |
|
|
|