Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `$ pwd`
- > print work directory 我在哪裡勒~?
- > 在 terminal 運行的時候對於路徑是非常敏感的,所以知道自己在哪是件很重要的事情喔//
- <br>
- `$ ls`
- > list the content of a directory 列出目前路徑下的所有檔案
- <br>
- `$ cd ⟪location⟫`
- > change directory 改變工作路徑
- <br>
- `$ cd ..`
- > 回去上一層
- <br>
- `$ cd ~`
- > 移動至家目錄
- <br>
- `$ cd /`
- > 移動至根目錄
- <br>
- `$ cd ./⟪file⟫`
- > 移動至目前資料夾下的 File 資料夾
- <br>
- `$ mkdir ⟪name⟫`
- > make directory 建立資料夾
- <br>
- `$ cp ⟪file⟫`
- > copy file 複製檔案
- <br>
- `$ mv ⟪file⟫`
- > 移動檔案
- <br>
- `$ rm ⟪file⟫`
- > 刪除檔案
- > !! 這個刪除方式是就不回來的喔!
Add Comment
Please, Sign In to add comment