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:
parent
8f07a3fd2c
commit
b727765b15
1 changed files with 20 additions and 0 deletions
20
pages/linux/htpdate.md
Normal file
20
pages/linux/htpdate.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue