小编use*_*635的帖子

sed 删除行 httpd.conf

我有一个httpd配置文件,我想从中删除整个块:

<Directory "/var/www/html">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files. …
Run Code Online (Sandbox Code Playgroud)

sed

3
推荐指数
1
解决办法
784
查看次数

标签 统计

sed ×1