htpdate

Synchronize local date and time via HTTP headers from web servers.

TLDR

Synchronize date and time

$ sudo htpdate [host]
copy

Perform simulation of synchronization, without any action

$ htpdate -q [host]
copy

Compensate the systematisch clock drift

$ sudo htpdate -x [host]
copy

Set time immediate after the synchronization

$ sudo htpdate -s [host]
copy

Copied to clipboard
gala