date 显示时间 [root@tan ~]# date 2020年 02月 26日 星期三 04:45:10 CST 简洁格式 [root@tan ~]# date +%F 2020-02-26 显示时分秒 [root@tan ~]# date +%T 04:48:20 显示小时 [root@tan ~]# date +%H 04 显示分钟 [root@tan ~]# date +%M 48 显示月份 [root@tan ~]# date +%m 02