

免费资源网 – https://freexyz.cn/
sed找到关键字所在行并将其前面的第一个字符删除:
代码如下:
sed -i /httpd-vhosts/s/^#// httpd.conf
#Include conf/extra/httpd-vhosts.conf
说明:
以 httpd-vhosts 为关键字找到这行,并将前面的第一个字符删掉,即将#删掉。免费资源网 – https://freexyz.cn/
© 版权声明
THE END
暂无评论内容