linux -时间

cal查看日历

date查看当前系统时间

date -s“”修改系统时间

date +格式化系统时间

date +"%Y%m%d%H%M%S"

原文地址:https://www.cnblogs.com/lingxia/p/5885236.html