Linux change date time
Linux修改时间的方法 修改linux的时间可以使用date指令在命令行输入:date显示当前时间 Fri Aug 3 14:15:16 CST 2007date -s 按字符串方式修改时间可以只修改日期,不修改时间,输入: date -s 2007-08-03只修改时间,输入:date -s 14:15:00同时修改日期时间,注意要加双引号,日期与时间之间有一空格,输入:date -s "2007-08-03 14:15:00"修改完后,记得输入:clock -w 把系统时间写入CMOS 硬件时钟:hwclock --systohc set the hardware clock to the current system timehwclock --httosys set the system time from hardware clockhwc