partman

linux下快速查找和替换内容

查找关键字
grep -rn "查找的字符串" ./
替换关键字
sed -i "s/源字符串/替换的字符串/g" `grep -rl "源字符串" ./`

分类:

技术点:

相关文章: