会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
终点即起点
博客园
首页
新随笔
联系
订阅
管理
2018年1月9日
linux下同步时间脚本
摘要: linux下同步时间脚本 #!/bin/bash # ntpd服务器同步时间 ntpd_num=`ps -ef |grep -v grep |grep ntpd |wc -l` if [ ntpd_num = 0 ];then service ntpd restart sleep 3 else nt
阅读全文
posted @ 2018-01-09 10:33 yxy_linux
阅读(25)
评论(0)
推荐(0)
编辑
公告