tldr/pages/common/zsh.md

413 B

zsh

Z SHell, a bash and sh-compatible command line interpreter. See also histexpand for history expansion. 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}}