Warning: Trying to access array offset on value of type bool in /www/wwwroot/lvshuige.com/wp-content/plugins/wp-super-cache/wp-cache.php on line 3484
linux中find grep sed命令组合使用 - 信息技术分享

linux中find grep sed命令组合使用

作者: admin 分类: linux 发布时间: 2018-08-30 07:47
find . -name "*.html" -o -name "*.js" | xargs grep -i "pkt.zoosnet.net"

find . -name "*.html"  |  xargs sed -ir "s#//pkt.zoosnet.net/JS/LsJS.aspx?siteid=PKT21646611&float=1&lng=en#//mnn.zoosnet.net/JS/LsJS.aspx?siteid=MNN94995150\&float=1\&lng=en#g"

 

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!


Warning: Undefined variable $aria_req in /www/wwwroot/lvshuige.com/wp-content/themes/JieStyle/comments.php on line 27

Warning: Undefined variable $aria_req in /www/wwwroot/lvshuige.com/wp-content/themes/JieStyle/comments.php on line 28

Warning: Undefined variable $aria_req in /www/wwwroot/lvshuige.com/wp-content/themes/JieStyle/comments.php on line 29

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注