How to set Cent OS date and time

By entering following command line, we can change the system date of Cent OS

[root@localhost ~]# date <month by 2 digits><date by 2 digits><hour by 2 digits in 24 hour format><minutes by 2 digits><year by 4 digits>

eg:
        date 101812472010

Advertisements
%d bloggers like this: