开发者

Basic linux shell scripting: getting NTP at linux?

开发者 https://www.devze.com 2023-03-11 20:14 出处:网络
I want to write a shell s开发者_StackOverflow社区cript for getting NTP(Network Time Protocol) info for debian server.

I want to write a shell s开发者_StackOverflow社区cript for getting NTP(Network Time Protocol) info for debian server.

How can I write, I don't know ?


Why are you writing your own? There are lots of existing tools to do this. openntp is one example. Look in aptitude.

Is there a reason you can't use the existing tools?


You probably want to take a look at ntpdate manpage for details on how to use this command.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号