Linux(Ubuntu, CentOS)替换文件夹中所有文件内容的特定字符串替换文件夹中所有文件内容的特定字符串1 find . -type f -name "*.yaml" | xargs sed -i "s#host_path#$host_path#g"