sed替换文件内容

sed -i 's/需要替换的内容/替换的内容/g' 文件

猜你喜欢

转载自blog.csdn.net/hezuijiudexiaobai/article/details/121389672