清羽Gist

Explore

  • Tutti i gists
  • Topics
  • Users
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 한국어 Polski Português Русский Türkçe Українська 简体中文 繁體中文

user:thomas utente che ha creato il gist

title:mygist titolo del gist

description:sync gists with given description

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab Gist con l'argomento dato

all:systemctl search all fields

Entra
n

Topics

ntp

Più recente creazione Meno recente creazione Più recente aggiornamento Meno recente aggiornamento
LiuShen

LiuShen / 通过HTTP同步时间

Ultima volta attivo 2 months ago bash ntp

在123端口无法使用的情况下通过http请求头携带的时间实现时间同步

0 0 1
sync-time.sh 1 files
1 #!/bin/bash
2
3 set -e
4
5 URL="http://www.baidu.com/"
6 COUNT=10
7
8 echo "正在通过百度 HTTP 校准系统时间..."
9 echo
清羽Gist © 2026 QingyuGist
陕ICP备2024028531号-2 陕公网安备61011602000637号