摘要: 1.将目标文件中每行第一个"80"替换为"8080"? sed 's/80/8080/' nginx.conf_bk >> nginx.conf_bk_a 2.如何将文件中所有出现的"localhost"替换为“127.0.0.1"? sed 's/localhost/127.0.0.1/g' ng 阅读全文
posted @ 2025-06-27 17:12 红鲤鱼绿鲤鱼驭驴 阅读(6) 评论(0) 推荐(0)