自动生成带日期文件名

命令如下: 

touch access_`date +%Y%m%d%H`.log  

posted @ 2020-06-29 15:13  myflyand  阅读(902)  评论(0)    收藏  举报