To change system date in linux, type:-
[root@akwal]# date MMDDhhmmYYYY.ss
For example: i want to change my system date to April 10 2012, 3.30pm, i will type:-
[root@akwal]# date 041015302012
As Clearly
[root@akwal]# date 041015302012.00
It’s simple
Note:
MM – month
DD – day
hh – hour is based on 24 hour
mm – minutes
YYYY – year
ss – seconds
0 comments:
Post a Comment