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
2023-01-10 18:13:32
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