sed -i 's/13/15/g' `grep 13 -rl 目录` -i 表示替换 -r 表示搜索子目录 -l 显示替换名 转载于:https://www.cnblogs.com/xshang/p/7450795.html