1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:42:08 +02:00
tldr/pages.zh/common/zsh.md
2019-11-02 17:47:23 +00:00

341 B

zsh

Z SHell. 与 bashsh 兼容的命令行解释器. 更多信息:https://www.zsh.org.

  • 启动交互式解释器:

zsh

  • 执行从参数传入的命令:

zsh -c {{command}}

  • 从文件执行命令 (脚本):

zsh {{file}}

  • 从文件执行命令并将执行过的命令打印到终端:

zsh -x {{file}}