Linux修改时间

date -s “$(date -d ‘3 min’ +”%y-%m-%d %H:%M:%S")"-d可以接多个参数例如:-d ’3 day’ 代表三天;-d ’3 year’ 代表三年。