修改系统日期与时间
命令:date -s "2012-11-03 10:25:25"
[root@localhost ~]# date
2012年 11月 02日 星期五 00:08:27 UTC
[root@localhost ~]# date -s "2012-11-03 10:25:25"
2012年 11月 03日 星期六 10:25:25 UTC
[root@localhost ~]# date
2012年 11月 03日 星期六 10:25:27 UTC
修改系统日期与时间
命令:date -s "2012-11-03 10:25:25"
[root@localhost ~]# date
2012年 11月 02日 星期五 00:08:27 UTC
[root@localhost ~]# date -s "2012-11-03 10:25:25"
2012年 11月 03日 星期六 10:25:25 UTC
[root@localhost ~]# date
2012年 11月 03日 星期六 10:25:27 UTC