Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash: add traditional Chinese translation #6191

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions pages.zh_TW/common/bash.md
Original file line number Diff line number Diff line change
@@ -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`