随笔分类 - linux
摘要:1、批量替换指定多个文件的文件内容 在指定目录/your/path里,查找包含old_string字符串的所有文件,并用new_string字符串替换old_string字符串。 sed -i "s/old_string/new_string/g" `grep old_string -rl /you
阅读全文
摘要:centos 7 yum安装失败(出现repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found)的解决方法 出现具体的错误提示如下: “ http://mirrors.aliyun.com/non-supported/rhel/7/x86_
阅读全文

浙公网安备 33010602011771号