Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 867 Bytes

File metadata and controls

17 lines (13 loc) · 867 Bytes

教你朋友 CLI

什麼是 command line?

command line interface 是命令式介面,一種與電腦溝通的方式,使用純文字操作,輸入指令就能操控電腦,相較於 graphical user interface 圖形使用者介面更加快速。

如何使用 command line?

藉由輸入純文字的指令,就能操作電腦,完成想要的動作。 command line 筆記

建立一個叫做 wifi 的資料夾,並且在裡面建立一個叫 afu.js 的檔案

  1. 安裝 command line 後就可執行,windows 系統可安裝 git bash,而 mac 系統可安裝 iTerm 2
  2. 進入畫面先找到目前位置:pwd
  3. 建立 wifi 資料夾:mkdir wifi
  4. 切換到資料夾內:cd wifi
  5. 建立 afu.js 檔案:touch afu.js
  6. 確認檔案清單後即完成:ls