How to set time in Linux
While logged in as root do the following:
1. Type "date".
2. You should see some variation of"
"Wed Nov 24, 9:29:17 EST 1999"
3. To change the time type(as an example):
date -s 10:10
4. The system response will be:
"Wed Nov 24, 10:10:02 EST 1999"
5. Then if you want to set the hardware(BIOS) clock so the system will keep the time when it reboots type:
clock -w
or
setclock
Link:
http://www.cpqlinux.com/date.html
http://www.comptechdoc.org/os/linux/howtos/linux_htmisc.html
1. Type "date".
2. You should see some variation of"
"Wed Nov 24, 9:29:17 EST 1999"
3. To change the time type(as an example):
date -s 10:10
4. The system response will be:
"Wed Nov 24, 10:10:02 EST 1999"
5. Then if you want to set the hardware(BIOS) clock so the system will keep the time when it reboots type:
clock -w
or
setclock
Link:
http://www.cpqlinux.com/date.html
http://www.comptechdoc.org/os/linux/howtos/linux_htmisc.html
Commenti