1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00

htpdate: add page (#4479)

This commit is contained in:
Antonio Bustos 2020-10-10 04:36:17 +02:00 committed by GitHub
parent 8f07a3fd2c
commit b727765b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
pages/linux/htpdate.md Normal file
View file

@ -0,0 +1,20 @@
# 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 syncronization, without any action:
`htpdate -q {{host}}`
- Compensate the systematisch clock drift:
`sudo htpdate -x {{host}}`
- Set time immediate after the syncronization:
`sudo htpdate -s {{host}}`