Dato/klokkeslet
Tidszone:
dpkg-reconfigure tzdata
Stil klokken automatisk:
ntpdate -b -s -u pool.ntp.org
-b Force the time to be stepped using the settimeofday(2) system
call, rather than slewed (default) using the adjtime(2) system
call. This option should be used when called from a startup file
at boot time.
-s Divert logging output from the standard output (default) to the
system syslog(3) facility. This is designed primarily for conve-
nience of cron(8) scripts.
-u Direct ntpdate to use an unprivileged port for outgoing packets.
This is most useful when behind a firewall that blocks incoming
traffic to privileged ports, and you want to synchronise with
hosts beyond the firewall. Note that the -d option always uses
unprivileged ports.
Stil klokken manuelt:
date -s "Aug 3 17:41 CEST 2015"