摘要: 1.date '+%Y%M%D' 按照格式显示当前日期,结果如下: [root@LAMP ~]# date "+%Y-%m-%d %H:%M:%S" 2016-08-16 20:01:25 2.date -s "xxx xx:xx:xx" 设置系统时间 [root@LAMP ~]# date -s 阅读全文
posted @ 2017-12-20 15:05 萝卜条条 阅读(293) 评论(0) 推荐(0) 编辑