command line interface 是命令式介面,一種與電腦溝通的方式,使用純文字操作,輸入指令就能操控電腦,相較於 graphical user interface 圖形使用者介面更加快速。
藉由輸入純文字的指令,就能操作電腦,完成想要的動作。 command line 筆記
- 安裝 command line 後就可執行,windows 系統可安裝 git bash,而 mac 系統可安裝 iTerm 2
- 進入畫面先找到目前位置:
pwd
- 建立 wifi 資料夾:
mkdir wifi
- 切換到資料夾內:
cd wifi
- 建立 afu.js 檔案:
touch afu.js
- 確認檔案清單後即完成:
ls