To change system date in linux, type:-
$date MMDDhhmmYYYY.ss
For example: i want to change my system date to Jun 29 2006, 3.30pm, i will type:-
$date 062915302006
It’s simple
Note:
MM – month
DD – day
YYYY – year
hh – hour is based on 24 hour
mm – minutes
ss – seconds
No comments:
Post a Comment