質問編集履歴
1
記載するコードのミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,15 +26,19 @@
|
|
26
26
|
|
27
27
|
# test.sh
|
28
28
|
|
29
|
-
ssh d-test-01 "
|
30
29
|
|
31
|
-
sudo su - test-user &&
|
32
30
|
|
33
|
-
|
31
|
+
#!/bin/sh
|
34
32
|
|
35
|
-
|
33
|
+
whoami
|
36
34
|
|
35
|
+
cd /home/project/
|
36
|
+
|
37
|
+
sudo su - test-user
|
38
|
+
|
39
|
+
pwd
|
40
|
+
|
37
|
-
|
41
|
+
ls -al
|
38
42
|
|
39
43
|
```
|
40
44
|
|