一、https://www.cnblogs.com/33debug/p/6632172.html 二、显示前一小时时间 date -d '-1 hour' '+%F-%H-%M-%S' 转载于:https://www.cnblogs.com/Presley-lpc/p/9317706.html