htpdate
Synchronize local date and time via HTTP headers from web servers. More information: <http://www.vervest.org/htp/>.
Install
- All systems
-
curl cmd.cat/htpdate.sh
- Debian
-
apt-get install htpdate - Ubuntu
-
apt-get install htpdate - Kali Linux
-
apt-get install htpdate - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install htpdate - OS X
-
brew install htpdate - Raspbian
-
apt-get install 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
© tl;dr; authors and contributors