View date and time on Linux using hwclock command



Configuration for GNU Linux Fedora Computer using Linux Command

 

   The hwclock can be use to view date and time of Linux machine base on hardware clock on the machine.  The hwclock command example below show the execution of hwclock command on Fedora Linux machine.

1.   Enter hwclock command with --show option on the terminal and then hit Enter button.

show date and time on Linux computer

[root@fedora ~]# hwclock --show

Mon 28 Jul 2008 05:52:44 AM EDT -0.774486 seconds 

[root@fedora ~]# 

 

The output from the hwclock command display the current date and time on Linux computer base on the hardware setting.. that set on the Bios...

 




0 comments: