Git
, Command Line
# 切換到使用者的 home 目錄中的 project 裡的 namecards 目錄
# 這個 "~" 符號表示 home 目錄
$ cd ~/project/namecards/
# ls 指令可列出在目前目錄所有的檔案及目錄
# 後面接的 -al 參數,a 是指連小數點開頭的檔案(例如.gitignore)也會顯示
# l 則是完整檔案的權限、擁有者以及建立、修改時間:
$ ls -al
# 把檔案 index.html 複製一份成 about.html:
$ cp index.html about.html
# 把檔案 index.html 更名成 info.html:
$ mv index.html info.html
# 刪除在這個目錄裡所有的 html 檔:
$ rm *.html
# 回到上一次我在的地方
$ cd -
# 回到上一層
$ cd ..
# (請勿這樣做,這邊只是示範)這樣表示從根目錄,一路往下刪除
$ rm -rf /
control + l -> 把畫面清掉
control + w -> 一次砍一個 word
control + u -> 整串砍掉
control + r -> 歷史搜尋模式,搜尋最近常用到的指令
Familiarity with Rakuten Travel QA Workflow (Hands-On Experience)
Dec 4, 2024A compilation of essential vocabulary gathered during my internship at Rakuten, with a sum of 94.
Mar 21, 2024在 Ruby 裡,幾乎什麼東西都是物件
Mar 1, 2024create web applications in Ruby
Mar 1, 2024or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up