date命令格式用法
yao@yao:~/shells/tmp$ date +%Y%m%d
20190405
yao@yao:~/shells/tmp$ date +%Y%m%d%H%M%S
20190405203505
yao@yao:~/shells/tmp$ date +%F
2019-04-05
date命令格式用法
yao@yao:~/shells/tmp$ date +%Y%m%d
20190405
yao@yao:~/shells/tmp$ date +%Y%m%d%H%M%S
20190405203505
yao@yao:~/shells/tmp$ date +%F
2019-04-05