snippetbashTip
htpdate — Synchronize local date and time via HTTP headers from web servers. More information: <https://www.ve
Viewed 0 times
synchronizecommandlocalandhtpdateclidatetime
linux
Problem
How to use the
htpdate command: Synchronize local date and time via HTTP headers from web servers. More information: <https://www.vervest.org/htp/>.Solution
htpdate — Synchronize local date and time via HTTP headers from web servers. More information: <https://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}}Code Snippets
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}}Context
tldr-pages: linux/htpdate
Revisions (0)
No revisions yet.