quest: add study commands to instruction

This commit is contained in:
Lin, Hung-Shin committed 2023-11-22 13:57:09 +08:00
1 parent 1ab3e577c1
commit 6fddf5ee0c
4 files changed
+14 -4

No files matched your search

+3 -1
View File
@@ -1,6 +1,8 @@
title: 複製檔案
instruction: |
在這個關卡中,你將學習如何複製檔案。
在這個關卡中,你會學習到:
1. 如何用 `cp` 指令複製檔案。
準備好就輸入 `echo start` 來開始吧!
requirements:
- create
+4 -1
View File
@@ -1,6 +1,9 @@
title: 建立檔案與資料夾
instruction: |
在這個關卡中,你將學習如何建立檔案與資料夾。
在這個關卡中,你會學習到:
1. 如何使用 `touch` 建立檔案
2. 如何使用 `mkdir` 建立資料夾
準備好就輸入 `echo start` 開始吧!
stages:
- id: start
+3 -1
View File
@@ -1,6 +1,8 @@
title: 移動檔案
instruction: |
在這個關卡中,你會學習如何移動檔案與資料夾。準備好就輸入 `echo start` 來開始吧!
在這個關卡中,你會學到:
1. 如何用 `mv` 移動檔案與資料夾
準備好就輸入 `echo start` 來開始吧!
requirements:
- create
+4 -1
View File
@@ -1,6 +1,9 @@
title: 刪除檔案與資料夾
instruction: |
在這個關卡中,你會學到如何用 `rm` 與 `rmdir` 指令刪除檔案與資料夾。
在這個關卡中,你會學到:
1. 用 `rm` 指令刪除檔案
2. 用 `rmdir` 與資料夾。
3. 用 `rm -r` 刪除資料夾與它的所有檔案。
現在資料夾裡有一些檔案與資料夾,請你使用 `ls` 跟 `cat` 來查看它們的內容。
準備好就輸入 `echo start` 開始吧!