Linux从NTP更新系统时间

每次改时间都忘记怎么弄,不是忘了命令就是忘了ntp服务器地址,记录一下:

sudo ntpdate ntp.iinet.net.au

写入CMOS:

sudo hwclock -w --localtime
This entry was posted in OS and tagged , .

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>