Forrest logo
tool overview
On this page you find all important commands for the CLI tool zsh. If the command you are looking for is missing please ask our AI.

zsh

Zsh is a shell designed for interactive use, although it is also a powerful scripting language. More information can be found on the "Zsh Web Pages" sites.

List of commands for zsh:

  • zsh:tldr:01946 zsh: Start an interactive shell session.
    $ zsh
    try on your machine
    explain this command
  • zsh:tldr:178b0 zsh: Execute a specific script.
    $ zsh ${path-to-script-zsh}
    try on your machine
    explain this command
  • zsh:tldr:3128a zsh: Execute a specific script, printing each command in the script before executing it.
    $ zsh --xtrace ${path-to-script-zsh}
    try on your machine
    explain this command
  • zsh:tldr:3a457 zsh: Check a specific script for syntax errors without executing it.
    $ zsh --no-exec ${path-to-script-zsh}
    try on your machine
    explain this command
  • zsh:tldr:a2710 zsh: Start an interactive shell session in verbose mode, printing each command before executing it.
    $ zsh --verbose
    try on your machine
    explain this command
  • zsh:tldr:ba0fd zsh: Execute specific [c]ommands.
    $ zsh -c "${echo Hello world}"
    try on your machine
    explain this command
tool overview