System Grab Bag

View all TLDR pages from Linux (or from all pages)

htpdate

Synchronize local date and time via HTTP headers from web servers. More information: http://www.vervest.org/htp/.
  • Synchronize date and time:
    sudo htpdate {{host}}
  • Perform simulation of synchronization, without any action:
    htpdate -q {{host}}
  • Compensate the systematic clock drift:
    sudo htpdate -x {{host}}
  • Set time immediate after the synchronization:
    sudo htpdate -s {{host}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.