fix: update quest [copy]

This commit is contained in:
Chen, Tai-Lin committed 2024-07-03 01:42:37 +08:00
1 parent 5bac9ce099
commit d2452c91a6
1 file changed
+6 -7
+6 -7
View File
@@ -46,10 +46,9 @@ stages:
請使用 `cd /home/commander` 來返回 `/home/commander` 資料夾。 請使用 `cd /home/commander` 來返回 `/home/commander` 資料夾。
responses: responses:
- type: narrative - type: narrative
content: content: 可以看到現在資料夾裡有 `hello.txt` 跟 `world.txt`。
可以看到現在資料夾裡有 `hello.txt` 跟 `world.txt`。
請使用 `cat` 來查看它們的內容。 請使用 `cat` 來查看它們的內容。
看完之後,使用 `echo continue` 來繼續吧! 看完之後,使用 `echo next` 來繼續吧!
hints: hints:
- ➤ 使用 `cat hello.txt` 以及 `cat world.txt` 來查看檔案內容 - ➤ 使用 `cat hello.txt` 以及 `cat world.txt` 來查看檔案內容
- ➤ 如果終端機卡在某個指令無法輸入,請按下 `Ctrl + C` 來取消該指令 - ➤ 如果終端機卡在某個指令無法輸入,請按下 `Ctrl + C` 來取消該指令
@@ -138,14 +137,14 @@ stages:
content: | content: |
你成功查看到 `world.txt` 的內容了! 你成功查看到 `world.txt` 的內容了!
- id: cat-continue - id: cat-next
task: 使用 `echo continue` 來繼續 task: 輸入 `echo next` 來繼續
requirements: requirements:
- cat-hello - cat-hello
- cat-world - cat-world
condition: condition:
command: command:
- ^echo continue$ - ^echo next$
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -159,7 +158,7 @@ stages:
- id: cp-hello - id: cp-hello
task: 複製 `hello.txt` 到 `hello2.txt` task: 複製 `hello.txt` 到 `hello2.txt`
requirements: requirements:
- cat-continue - cat-next
condition: condition:
pwd: pwd:
- ^/home/commander$ - ^/home/commander$