2019年3月12日更新 linux: 查询并替换文件的内容 find ./ | xargs perl -pi -e 's|dddd|rrrr|g' 搜索dddd替换为rrrr 可以通过增加find的参数来控制搜索的文件。