Shell-date时间日期命令 date 时间日期命令123456cur_date="`date +%Y-%m-%d`"cur_dateTime="`date +%Y-%m-%d,%H:%m:%s`"# 时间 Fri Apr 14 23:39:59 CST 2023# 对应的格式:%a %b %d %H:%M:%S %Z %Y# 或者:%a %b %d %T %Z %Y #Shell #date Shell-date时间日期命令 https://dnacore.github.io/post/7c9a25d2-5dc6-47b7-ac19-39d8e0fd09bc.html 作者 DNACore 发布于 2019年12月17日 更新于 2023年8月24日 许可协议 树莓派-开启ssh连接 上一篇 Linux-开机启动自动运行脚本 下一篇 Please enable JavaScript to view the comments