{
 "什麼是 Linux?#1": {
  "type": "flow",
  "reveal": [
   0,
   2,
   3
  ],
  "nodes": [
   {
    "label": "應用軟體"
   },
   {
    "label": "Linux 核心",
    "sub": "kernel"
   },
   {
    "label": "硬體",
    "sub": "記憶體 處理器 硬碟 網路"
   }
  ],
  "layout": "row"
 },
 "什麼是 Linux?#2": {
  "type": "cards",
  "reveal": [
   0,
   1,
   2,
   3,
   4,
   4
  ],
  "cards": [
   {
    "title": "Ubuntu",
    "points": [
     "最多人使用",
     "資源豐富",
     "適合入門與伺服器"
    ]
   },
   {
    "title": "Debian",
    "points": [
     "穩定",
     "許多發行版的基礎"
    ]
   },
   {
    "title": "Fedora / Red Hat",
    "points": [
     "RHEL、Rocky Linux、AlmaLinux",
     "企業環境常見"
    ]
   },
   {
    "title": "Arch Linux",
    "points": [
     "滾動更新",
     "偏進階使用者"
    ]
   }
  ]
 },
 "什麼是 Linux?#3": {
  "type": "table",
  "head": [
   "理由",
   "重點"
  ],
  "rows": [
   [
    "伺服器主流",
    "網站主機、雲端、容器"
   ],
   [
    "穩定與安全",
    "長時間不關機、權限嚴謹"
   ],
   [
    "自動化友善",
    "用指令寫成腳本批次處理"
   ],
   [
    "免費且彈性",
    "不需授權費、可客製"
   ]
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   4
  ],
  "widths": [
   2,
   4
  ]
 },
 "什麼是 Linux?#4": {
  "type": "flow",
  "reveal": [
   0,
   5
  ],
  "nodes": [
   {
    "label": "系統管理"
   },
   {
    "label": "DevOps"
   },
   {
    "label": "資安"
   },
   {
    "label": "雲端"
   },
   {
    "label": "AI 工程"
   }
  ],
  "layout": "snake"
 },
 "什麼是 Linux?#5": {
  "type": "table",
  "head": [
   "項目",
   "Linux 的做法"
  ],
  "rows": [
   [
    "路徑寫法",
    "用 / 分隔,從 / 開始"
   ],
   [
    "大小寫",
    "File.txt 與 file.txt 不同"
   ],
   [
    "副檔名",
    "只是慣例,看權限與內容"
   ],
   [
    "設定檔",
    "多半是純文字"
   ]
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   4
  ],
  "widths": [
   2,
   4
  ]
 },
 "什麼是 Linux?#6": {
  "type": "flow",
  "reveal": [
   0,
   3
  ],
  "nodes": [
   {
    "label": "裝置",
    "sub": "/dev"
   },
   {
    "label": "一切皆檔案"
   },
   {
    "label": "程序資訊",
    "sub": "/proc"
   }
  ],
  "layout": "row",
  "edges": [
   [
    0,
    1
   ],
   [
    2,
    1
   ]
  ]
 },
 "什麼是 Linux?#7": {
  "type": "flow",
  "reveal": [
   0,
   3
  ],
  "nodes": [
   {
    "label": "Linux",
    "sub": "核心"
   },
   {
    "label": "發行版",
    "sub": "完整系統套裝"
   },
   {
    "label": "指令",
    "sub": "溝通的主要方式"
   }
  ],
  "layout": "row"
 },
 "終端機、Shell 與指令格式#1": {
  "type": "flow",
  "reveal": [
   0,
   1,
   2,
   3
  ],
  "nodes": [
   {
    "label": "終端機",
    "sub": "Terminal:輸入與看結果的視窗"
   },
   {
    "label": "Shell",
    "sub": "解讀指令,常見為 bash"
   },
   {
    "label": "指令",
    "sub": "Shell 找程式來執行"
   }
  ],
  "layout": "row"
 },
 "終端機、Shell 與指令格式#2": {
  "type": "table",
  "head": [
   "部分",
   "意義"
  ],
  "rows": [
   [
    "student",
    "登入的使用者名稱"
   ],
   [
    "manco-lab",
    "這台電腦的主機名稱"
   ],
   [
    "~",
    "目前目錄,家目錄 /home/student"
   ],
   [
    "$",
    "一般使用者(root 為 #)"
   ]
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   4
  ],
  "widths": [
   2,
   4
  ]
 },
 "終端機、Shell 與指令格式#4": {
  "type": "flow",
  "reveal": [
   0,
   1,
   2,
   3,
   3
  ],
  "nodes": [
   {
    "label": "ls",
    "sub": "指令:列出內容"
   },
   {
    "label": "-l",
    "sub": "選項:詳細格式"
   },
   {
    "label": "/etc",
    "sub": "參數:哪個目錄"
   }
  ],
  "layout": "row"
 },
 "終端機、Shell 與指令格式#5": {
  "type": "cards",
  "reveal": [
   0,
   1,
   2,
   3
  ],
  "cards": [
   {
    "title": "Tab 補全",
    "points": [
     "打開頭幾個字",
     "按 Tab 自動補完"
    ]
   },
   {
    "title": "方向鍵 ↑ ↓",
    "points": [
     "叫回剛打過的指令"
    ]
   },
   {
    "title": "--help",
    "points": [
     "幾乎每個指令都支援",
     "查看用法"
    ]
   }
  ]
 },
 "終端機、Shell 與指令格式#7": {
  "type": "table",
  "head": [
   "錯誤訊息",
   "意思"
  ],
  "rows": [
   [
    "command not found",
    "指令打錯或沒安裝"
   ],
   [
    "No such file or directory",
    "找不到檔案或目錄,多半路徑或拼字錯"
   ],
   [
    "Permission denied",
    "沒有權限"
   ]
  ],
  "reveal": [
   0,
   1,
   2,
   3
  ],
  "widths": [
   3,
   4
  ]
 },
 "你的第一批指令#1": {
  "type": "table",
  "head": [
   "指令",
   "問的問題"
  ],
  "rows": [
   [
    "pwd",
    "我在哪裡?"
   ],
   [
    "whoami",
    "我是誰?"
   ],
   [
    "ls",
    "這裡有什麼?"
   ],
   [
    "date",
    "現在幾點?"
   ],
   [
    "echo",
    "印出文字"
   ],
   [
    "cat",
    "看檔案內容"
   ]
  ],
  "reveal": [
   0,
   6
  ],
  "widths": [
   2,
   3
  ]
 },
 "你的第一批指令#4": {
  "type": "table",
  "head": [
   "指令",
   "作用"
  ],
  "rows": [
   [
    "ls",
    "列出目錄裡的檔案和子目錄"
   ],
   [
    "ls -l",
    "詳細格式(權限、擁有者、大小、時間)"
   ],
   [
    "ls -a",
    "包含隱藏檔(以 . 開頭)"
   ],
   [
    "ls -la",
    "兩個選項一起用"
   ],
   [
    "ls /etc",
    "列出指定的目錄"
   ]
  ],
  "reveal": [
   1,
   2,
   3,
   4,
   5
  ],
  "widths": [
   2,
   5
  ]
 },
 "你的第一批指令#6": {
  "type": "table",
  "head": [
   "符號",
   "作用"
  ],
  "rows": [
   [
    ">",
    "把輸出寫進檔案,已存在會被覆蓋"
   ],
   [
    ">>",
    "接在檔案最後面追加"
   ]
  ],
  "reveal": [
   0,
   0,
   0,
   2
  ],
  "widths": [
   1,
   3
  ]
 },
 "你的第一批指令#7": {
  "type": "table",
  "head": [
   "指令",
   "結果"
  ],
  "rows": [
   [
    "echo Hello Linux",
    "畫面印出 Hello Linux"
   ],
   [
    "echo \"Hello Linux\" > hello.txt",
    "存進 hello.txt,不印在畫面"
   ]
  ],
  "reveal": [
   0,
   1,
   1,
   2
  ],
  "widths": [
   3,
   2
  ]
 }
}