sed -i 's/old/new/g' `grep 'textstring' -rl /var/www/` 转载于:https://www.cnblogs.com/wuhouci/p/3831538.html