linux下如何批量替換多個文件中的某個字符串?

答: sed -i "s/<old_string>/<new_string>/g" `grep "<old_string>" -l <dir_or_wildcard_filename>html   例如:post     sed -i "s/jello/hello/g" `grep "jello" -l *.chtm 轉載於:https://www.cnblogs.com/dakewei/p/11
相關文章
相關標籤/搜索