From 10874d8017165081314acacf337fc156ad2ec5d5 Mon Sep 17 00:00:00 2001 From: YuQing Date: Tue, 14 Jun 2022 15:14:59 +0800 Subject: [PATCH] benchmarks && examples/services: Modify 3.1-disable-http-server.md shell script format Fixes: #I5AF1F Signed-off-by: YuQing --- benchmarks/services/3.1-disable-http-server.md | 4 ++-- examples/services/3.1-disable-http-server.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmarks/services/3.1-disable-http-server.md b/benchmarks/services/3.1-disable-http-server.md index 384d047..634414f 100644 --- a/benchmarks/services/3.1-disable-http-server.md +++ b/benchmarks/services/3.1-disable-http-server.md @@ -15,7 +15,7 @@ HTTP 或 Web 服务器提供托管网站内容的能力。 运行以下命令来禁用`httpd` ```shell -systemctl --now disable httpd +# systemctl --now disable httpd ``` ## 扫描检测 @@ -23,7 +23,7 @@ systemctl --now disable httpd 运行以下命令来检查`httpd`是否被禁用 ```shell -systemctl is-enabled httpd +# systemctl is-enabled httpd ``` 期待的输出结果为`disabled` diff --git a/examples/services/3.1-disable-http-server.md b/examples/services/3.1-disable-http-server.md index 384d047..634414f 100644 --- a/examples/services/3.1-disable-http-server.md +++ b/examples/services/3.1-disable-http-server.md @@ -15,7 +15,7 @@ HTTP 或 Web 服务器提供托管网站内容的能力。 运行以下命令来禁用`httpd` ```shell -systemctl --now disable httpd +# systemctl --now disable httpd ``` ## 扫描检测 @@ -23,7 +23,7 @@ systemctl --now disable httpd 运行以下命令来检查`httpd`是否被禁用 ```shell -systemctl is-enabled httpd +# systemctl is-enabled httpd ``` 期待的输出结果为`disabled` -- Gitee