Algemeen en interessant nieuws over en door NosTech

NIEUWS

How to set the time in Linux
19-04-2011 13:48

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
< Alle nieuws