bash: add traditional Chinese translation (#6191)

beep
lincc 2021-07-06 18:35:31 +08:00 committed by GitHub
parent ec92caa35b
commit 46676178ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# bash
> Bourne-Again SHell. 一個與 `sh` 兼容的命令列。
> 參照 `histexpand` 以使用 history expansion 特性。
> 更多資訊: <https://gnu.org/software/bash/>.
- 開啟互動式 shell
`bash`
- 執行指令然後退出:
`bash -c "{{指令}}"`
- 執行腳本:
`bash {{sh檔}}`
- 執行腳本,每個指令執行之前先在命令列印出該指令:
`bash -x {{sh檔}}`
- 執行腳本,執行錯誤時,終止執行該腳本:
`bash -e {{sh檔}}`
- 從標準輸入 (stdin) 讀取並執行指令:
`bash -s`
- 在終端機印出 bash 的版本資訊 `$BASH_VERSION` 只包含版本號)
`bash --version`