質問編集履歴
3
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,6 +18,8 @@
|
|
18
18
|
|
19
19
|
```
|
20
20
|
|
21
|
+
|
22
|
+
|
21
23
|
status結果
|
22
24
|
|
23
25
|
```
|
@@ -30,9 +32,7 @@
|
|
30
32
|
|
31
33
|
**上記コマンドでhttpd (pid xxx) is running... と表示されてほしい**
|
32
34
|
|
33
|
-
stop結果
|
34
35
|
|
35
|
-
```
|
36
36
|
|
37
37
|
service httpd status結果
|
38
38
|
|
@@ -41,6 +41,12 @@
|
|
41
41
|
[vagrant@vagrant-centos65 ~]$ sudo service httpd status
|
42
42
|
|
43
43
|
httpd is stopped
|
44
|
+
|
45
|
+
```
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
stop結果
|
44
50
|
|
45
51
|
```
|
46
52
|
|
2
service httpd statusの結果を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -31,6 +31,16 @@
|
|
31
31
|
**上記コマンドでhttpd (pid xxx) is running... と表示されてほしい**
|
32
32
|
|
33
33
|
stop結果
|
34
|
+
|
35
|
+
```
|
36
|
+
|
37
|
+
service httpd status結果
|
38
|
+
|
39
|
+
```
|
40
|
+
|
41
|
+
[vagrant@vagrant-centos65 ~]$ sudo service httpd status
|
42
|
+
|
43
|
+
httpd is stopped
|
34
44
|
|
35
45
|
```
|
36
46
|
|
1
コマンドを変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
```
|
24
24
|
|
25
|
-
[vagrant@vagrant-centos65 ~]$ /etc/rc.d/init.d/httpd status
|
25
|
+
[vagrant@vagrant-centos65 ~]$ sudo /etc/rc.d/init.d/httpd status
|
26
26
|
|
27
27
|
httpd is stopped
|
28
28
|
|