一、查询时间命令:datespa
二、设置日期:date -s mm/dd/yyyydate
三、设置时间:date -s HH:MM:SS查询
四、将当前时间及日期写入BIOS,避免重启失效:hwclock -w时间
五、cal:不加参数,可查看当月月历。参数