sed 命令,替换文件中的内容 sed -i 's/content/content/' file 转载于:https://www.cnblogs.com/MUQINGFENG123/p/9337690.html