Linux modify system time
Enter at the command line:
Date: Show current time Fri Aug 3 14:15:16 CST 2007
Date –s: modify the time by string
You can only modify the date, do not modify the time, enter: date -s 2007-08-03
Just modify the time, type: date -s 14:15:00
Also modify the date and time, pay attention to add double quotes, there is a space between the date and time, enter:
#date -s "2007-08-03 06:15"