| 類別 | 必會指令 | 練習目標 |
|---|---|---|
| 目錄/檔案 | ls, cd, pwd, mkdir, rmdir, rm, cp, mv, find, locate | 在 /home、/etc、/var、/opt 自由穿梭、建刪複製 |
| 檢視/編輯 | cat, less, head, tail, grep, sed, awk, vim/nano | 讀懂 /etc/passwd、/etc/fstab、日誌檔;用 vim 編輯設定檔 |
| 權限/擁有者 | chmod, chown, chgrp, umask, sudo, su | 理解 rwx、setuid/setgid/sticky bit、sudoers 設定 |
| 程序/服務 | ps, top, htop, kill, systemctl, journalctl | 查看啟動服務、分析 CPU/記憶體佔用、重啟 nginx/sshd |
| 網路 | ip, ss, netstat, ping, curl, wget, scp, rsync, firewall-cmd/ufw | 設定靜態 IP、開放埠口、傳檔、抓封包 |
| 壓縮/備份 | tar, gzip, xz, zip, unzip | 打包 /etc、/home 並異地備份 |
$1 $@ getopts)。crontab -e、systemd timer。expect 自動互動、ansible 無代理配置管理入門。gcc/g++, make, cmake, gdb, valgrind, strace, ltrace。.so)、Plugin 架構、效能分析 (perf, gprof)。module_init/exit, printk, copy_to/from_user, 字元/區塊/網路裝置驅動框架。kgdb, ftrace, perf, crash。man 頁面、Kernel Documentation、Arch Wiki 為一手權威資訊。Linux 學習無捷徑,**「裝虛擬機 → 狂敲指令 → 寫腳本 → 寫 C 系統程式 → 寫驅動」** 是經典成長路徑。重點在於**動手實作量**,而非背誦指令參數。半年內可具備 Linux 後端/運維/嵌入式開發入門實力,一年內可向核心開發、架構師方向邁進。