举个栗子:将test文件夹中所有含有tony字段的文件,替换成tony_teacher字段: 1、cd test 2、find . -type f -exec sed -i 's/tony/tony_teacher/g' {} +