如何生成“年月日_时分秒”命名的文件

shell脚本生成文件shell

echo 'ok' >> $(date +%Y%m%d_%H%M%S).txtdate

相关文章
相关标签/搜索