开发者

Basic linux shell scripting: getting NTP at linux?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜