linux sed使用

替换文件中的字符:  sed -e 's/old/new/g' 1.txt >2.txt

原文地址:https://www.cnblogs.com/brainstorm/p/7649489.html