curdate="`date +%Y-%m-%d,%H:%M:%S`";
echo $curdate;
shell 获取当前日期时间
最新推荐文章于 2024-04-30 21:10:51 发布
curdate="`date +%Y-%m-%d,%H:%M:%S`";
echo $curdate;