add new chinese translations
This commit is contained in:
20
pages.zh/linux/exec.md
Normal file
20
pages.zh/linux/exec.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# exec
|
||||
|
||||
> 执行一个命令而不创建子进程。
|
||||
> 更多信息:<https://www.gnu.org/software/bash/manual/bash.html#index-exec>。
|
||||
|
||||
- 执行特定命令:
|
||||
|
||||
`exec {{command -with -flags}}`
|
||||
|
||||
- 在(基本上)空的环境中执行命令:
|
||||
|
||||
`exec -c {{command -with -flags}}`
|
||||
|
||||
- 作为登录 shell 执行命令:
|
||||
|
||||
`exec -l {{command -with -flags}}`
|
||||
|
||||
- 以不同的名称执行命令:
|
||||
|
||||
`exec -a {{name}} {{command -with -flags}}`
|
Reference in New Issue
Block a user