Guest User

Untitled

a guest
Jun 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. `$ pwd`
  2. > print work directory 我在哪裡勒~?
  3. > 在 terminal 運行的時候對於路徑是非常敏感的,所以知道自己在哪是件很重要的事情喔//
  4. <br>
  5.  
  6. `$ ls`
  7. > list the content of a directory 列出目前路徑下的所有檔案
  8. <br>
  9.  
  10. `$ cd ⟪location⟫`
  11. > change directory 改變工作路徑
  12. <br>
  13.  
  14. `$ cd ..`
  15. > 回去上一層
  16. <br>
  17.  
  18. `$ cd ~`
  19. > 移動至家目錄
  20. <br>
  21.  
  22. `$ cd /`
  23. > 移動至根目錄
  24. <br>
  25.  
  26. `$ cd ./⟪file⟫`
  27. > 移動至目前資料夾下的 File 資料夾
  28. <br>
  29.  
  30. `$ mkdir ⟪name⟫`
  31. > make directory 建立資料夾
  32. <br>
  33.  
  34. `$ cp ⟪file⟫`
  35. > copy file 複製檔案
  36. <br>
  37.  
  38. `$ mv ⟪file⟫`
  39. > 移動檔案
  40. <br>
  41.  
  42. `$ rm ⟪file⟫`
  43. > 刪除檔案
  44. > !! 這個刪除方式是就不回來的喔!
Add Comment
Please, Sign In to add comment