mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
quest get-started
This commit is contained in:
1 parent
c6e49a10be
commit
c42c558614
16 files changed
+274
-273
No files matched your search
+7
-17
@@ -42,15 +42,11 @@ stages:
|
||||
command:
|
||||
- ^ls$
|
||||
responses:
|
||||
- type: dialogue
|
||||
speaker: Unix 精靈
|
||||
content:
|
||||
- content:
|
||||
- 你應該能看到資料夾中的內容了。
|
||||
- 在畫面右邊的檔案樹也有了改變。
|
||||
- 可以看出,在這個資料夾中包含了兩個資料夾,分別是 `folder1` 和 `folder2`。
|
||||
- type: dialogue
|
||||
speaker: Unix 精靈
|
||||
content:
|
||||
- content:
|
||||
- 接下來,我要教你如何進入資料夾。
|
||||
- '`cd` 指令是 change directory 的縮寫,也就是改變路徑的意思。'
|
||||
- 你可以通過輸入 `cd [資料夾名稱]` 來進入資料夾。
|
||||
@@ -81,9 +77,7 @@ stages:
|
||||
pwd:
|
||||
- /home/commander/folder1
|
||||
responses:
|
||||
- type: dialogue
|
||||
speaker: Unix 精靈
|
||||
content:
|
||||
- content:
|
||||
- 你成功的進入 `folder1` 資料夾了。
|
||||
- 你可以發現指令提示符從原本的
|
||||
- '`commander:~ $` 變成了'
|
||||
@@ -117,8 +111,7 @@ stages:
|
||||
command:
|
||||
- ls
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
- content:
|
||||
- 你現在可以看到 `folder1` 資料夾中有兩的檔案,分別是 `file1.txt` 跟 `file2.txt`。
|
||||
- 現在我們可以離開 `folder1` 回到原本的資料夾了。
|
||||
- 你可以使用 `cd ..` 回到上一層資料夾。
|
||||
@@ -134,8 +127,7 @@ stages:
|
||||
pwd:
|
||||
- /home/commander
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
- content:
|
||||
- 你成功的回到上一層資料夾了。
|
||||
- 現在,請你剛才所學的指令,進入 `folder2` 資料夾,檢查 `folder2` 資料夾的內容,最後回到這個資料夾。
|
||||
hints:
|
||||
@@ -166,8 +158,7 @@ stages:
|
||||
command:
|
||||
- ls
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
- content:
|
||||
- 你看到了 `folder2` 資料夾中的檔案,分別是 `file3.txt` 跟 `file4.txt`。
|
||||
- 現在你可以離開 `folder2` 回到原本的資料夾了。
|
||||
hints:
|
||||
@@ -181,8 +172,7 @@ stages:
|
||||
pwd:
|
||||
- /home/commander
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
- content:
|
||||
- 你成功的回到原本的資料夾了。
|
||||
- 恭喜你學會了 `ls` 和 `cd` 指令的用法。
|
||||
hints:
|
||||
|
||||
Reference in new issue
Block a user