shell date 时分秒

20191210


  • 语句
date '+%Y%m%d %H:%M:%y'
  • 结果
20191210 16:49:19
原文地址:https://www.cnblogs.com/damahuhu/p/12017656.html