tldr/pages/common/zsh.md

22 lines
413 B
Markdown
Raw Normal View History

2016-02-19 16:53:19 +00:00
# zsh
> Z SHell, a `bash` and `sh`-compatible command line interpreter.
> See also `histexpand` for history expansion.
> More information: <https://www.zsh.org>.
2016-02-19 16:53:19 +00:00
- 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}}`