mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-24 00:02:09 +02:00
21 lines
350 B
Markdown
21 lines
350 B
Markdown
# zsh
|
|
|
|
> Z SHell.
|
|
> 与 `bash` 和 `sh` 兼容的命令行解释器。
|
|
> 更多信息:<https://www.zsh.org>.
|
|
|
|
- 启动交互式解释器:
|
|
|
|
`zsh`
|
|
|
|
- 执行从参数传入的命令:
|
|
|
|
`zsh -c {{command}}`
|
|
|
|
- 从文件执行命令(脚本):
|
|
|
|
`zsh {{file}}`
|
|
|
|
- 从文件执行命令并将执行过的命令打印到终端:
|
|
|
|
`zsh -x {{file}}`
|