mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 13:51:00 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/linux/htpdate
Normal file
25
tldr/linux/htpdate
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user