pages*: update outdated pages (#11821)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
This commit is contained in:
Sebastiaan Speck
2023-12-28 16:48:20 +01:00
committed by GitHub
parent 7635f3426f
commit dcb53c85a0
83 changed files with 228 additions and 360 deletions

View File

@@ -9,16 +9,8 @@
- 將多個檔案連接起來,輸出至目標檔案:
`cat {{檔案一}} {{檔案二}} > {{目標檔案}}`
`cat {{檔案一 檔案二 ...}} > {{目標檔案}}`
- 將多個檔案連接起來,並將其內容加到目標檔案的結尾:
`cat {{檔案一}} {{檔案二}} >> {{目標檔案}}`
- 印出檔案的內容並顯示行號:
`cat -n {{檔案}}`
- 印出檔案的內容,且將無法顯示的字元用特殊的方式顯示出來:
`cat -v -t -e {{檔案}}`
`cat {{檔案一 檔案二 ...}} >> {{目標檔案}}`

View File

@@ -14,7 +14,7 @@
- 下載檔案,跟隨重新導向,並且自動續傳(恢復)前序檔案傳輸:
`curl --remote-name --location --continue-at - {{http://example.com/filename}}`
`curl --fail --remote-name --location --continue-at - {{http://example.com/filename}}`
- 發送表單編碼數據(`application/x-www-form-urlencoded` 的 POST 請求):
@@ -30,7 +30,7 @@
- 透過使用者名稱和密碼訪問伺服器:
`curl --user myusername:mypassword {{http://example.com}}`
`curl --user {{使用者名稱}} {{http://example.com}}`
- 爲指定資源使用客戶端憑證和密鑰,並且跳過憑證驗證:

View File

@@ -5,15 +5,7 @@
- 移除位於指定路徑的檔案:
`rm {{檔案一/完整/路徑}} {{檔案二/完整/路徑}}`
- 遞迴移除目錄與其所有子目錄:
`rm -r {{目錄/完整/路徑}}`
- 強制移除目錄,且不會跳出任何確認資訊與錯誤訊息:
`rm -rf {{目錄/完整/路徑}}`
`rm {{檔案一/完整/路徑 檔案二/完整/路徑 ...}}`
- 移除檔案,且每次移除都會進行確認:
@@ -22,3 +14,7 @@
- 移除目錄中的所有檔案,並顯示每個檔案的移除資訊:
`rm -v {{目錄/完整/路徑/*}}`
- 遞迴移除目錄與其所有子目錄:
`rm -r {{目錄/完整/路徑}}`