#日期时间 echo ‘日期时间‘ datetime=$(date "+%Y-%m-%d %H:%M:%S") echo "$datetime"
Linux日期时间
原文:https://www.cnblogs.com/wzscuy/p/10302617.html