tldr/pages/common/zsh.md

366 B

zsh

Z SHell. bash and sh-compatible command line interpreter. More information: https://www.zsh.org.

  • Start interactive command line interpreter:

zsh

  • Execute command passed as parameter:

zsh -c {{command}}

  • Run commands from file (script):

zsh {{file}}

  • Run commands from file and print them as they are executed:

zsh -x {{file}}