摘要: 先指定范围,再对匹配上的内容进行替换 sed -i '5,10 s#hello#world#' test.txt 阅读全文
posted @ 2021-04-07 19:38 Cetus-Y 阅读(991) 评论(0) 推荐(0) 编辑
摘要: #服务端(同步阿里云) yum install -y ntp ntpdate ntp2.aliyun.com vi /etc/ntp.conf 将默认的server注释,改为阿里云ntp服务器 server ntp2.aliyun.com iburst server ntp3.aliyun.com 阅读全文
posted @ 2021-04-07 17:04 Cetus-Y 阅读(230) 评论(0) 推荐(0) 编辑