sed 对一堆文件指定行后增加内容

sed -i '//opt/php/bin/php/ r /tmp/check.file'  /root/*.sh
原文地址:https://www.cnblogs.com/bill2014/p/15512019.html