luw2007
V2EX  ›  macOS

mac 一条命令同步时间 use ntpdate

  •  
  •   luw2007 · Jun 1, 2015 · 7446 views
    This topic created in 4202 days ago, the information mentioned may be changed or developed.

    sudo ntpdate -u $(sudo systemsetup -getnetworktimeserver|awk '{print $4}')

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   926 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 21:00 · PVG 05:00 · LAX 13:00 · JFK 16:00
    ♥ Do have faith in what you're doing.