ZSHALL(1) General Commands Manual ZSHALL(1) (NAME) zshall - Z (OVERVIEW) zsh zsh . : zsh Zsh zshroadmap zshmisc zshexpn Zsh zshparam Zsh zshoptions Zsh zshbuiltins Zsh zshzle Zsh zshcompwid Zsh zshcompsys Zsh zshcompctl Zsh zshmodules Zsh zshcalsys Zsh zshtcpsys TCP Zsh zshzftpsys FTP Zsh zshcontrib Zsh (DESCRIPTION) Zsh (shell) . zsh ksh . POSIX : `Compatibility' . Zsh ( ) . (AUTHOR) Zsh Paul Falstad . Zsh zsh-workers . Peter Stephenson . . (AVAILABILITY) Zsh HTTP FTP . ftp://ftp.zsh.org/pub https://www.zsh.org/pub Git Sourceforge . https://sourceforge.net/projects/zsh . https://zsh.sourceforge.io . (MAILING LISTS) Zsh : Zsh FAQ. () . . ( ) . zsh . . . zsh-announce zsh-users . zsh-users zsh-workers . . . https://www.zsh.org/mla ..SH " ZSH (THE ZSH FAQ)" Zsh (FAQ) Peter Stephenson . comp.unix.shell zsh-announce . FTP Zsh https://www.zsh.org/FAQ . . ZSH (THE ZSH WEB PAGE) Zsh https://www.zsh.org . . ZSH (THE ZSH USERGUIDE) . (hierographic) ( <> ). https://zsh.sourceforge.io/Guide . . (INVOCATION) : -c . $0 . -i . . -s . -s . -c -s . PATH_SCRIPT ( <> ) PATH . <> . . set zshoptions(1) . <<--emulate>> ( ) . emulate zshbuiltins(1) . <<--emulate>> ( ) . emulate : POSIX path . -o . -o . zsh -x -o shwordsplit scr scr XTRACE <<-x>> SH_WORD_SPLIT . +o -o . -o <<-xo shwordsplit>> <<-xoshwordsplit>> <<-x -o shwordsplit>> . GNU <<--option-name>> . <<->> : <<_>> . <> zsh SH_WORD_SPLIT . <<->> <<+>> <<+-sh-word-split>> <<--no-sh-word-split>> . GNU <<-x-shwordsplit>> <<-x --shwordsplit>> . GNU <<--version>> . <<--help>> . <<->> <<+>> . <<->> ( <<+>>) . <<-->> ( <<+->>) ( POSIX ) ( <<-x->> <<-x -->> ). <<-->> ( <<-x-f>> ) GNU <<--shwordsplit>> . sh/ksh <<-b>> ( <<+b>>) . <<-b>> <<-->> <<-b>> . Zsh sh ksh sh ksh `r' ( `restricted` ) `b' `s' `k' sh ksh . su ( su ) SHELL . sh ksh : ARGC, argv, cdpath, fignore, fpath, HISTCHARS, mailpath, MANPATH, manpath, path, prompt, PROMPT, PROMPT2, PROMPT3, PROMPT4, psvar, status. / zsh . /etc/profile $HOME/.profile . ENV $ENV profile . ENV . PRIVILEGED . sh ksh : NO_BAD_PATTERN, NO_BANG_HIST, NO_BG_NICE, NO_EQUALS, NO_FUNCTION_ARGZERO, GLOB_SUBST, NO_GLOBAL_EXPORT, NO_HUP, INTERACTIVE_COMMENTS, KSH_ARRAYS, NO_MULTIOS, NO_NOMATCH, NO_NOTIFY, POSIX_BUILTINS, NO_PROMPT_PERCENT, RM_STAR_SILENT, SH_FILE_EXPANSION, SH_GLOB, SH_OPTION_LETTERS, SH_WORD_SPLIT. zsh sh BSD_ECHO IGNORE_BRACES . zsh ksh KSH_OPTION_PRINT, LOCAL_OPTIONS, PROMPT_BANG, PROMPT_SUBST SINGLE_LINE_ZLE . zsh POSIX . zsh FAQ https://www.zsh.org/FAQ . (RESTRICTED SHELL) (basename) zsh `r' `-r' . `r' . : o cd o EGID, EUID, GID, HISTFILE, HISTSIZE, IFS, LD_AOUT_LIBRARY_PATH, LD_AOUT_PRELOAD, LD_LIBRARY_PATH, LD_PRELOAD, MODULE_PATH, module_path, PATH, path, SHELL, UID USERNAME o / o hash o o exec o jobs -Z o ARGV0 argv[0] o set +r unsetopt RESTRICTED . PATH . . RESTRICTED . . (Restricted Mode) : chroot jails containers zones. . zsh . ( ). `PATH' . `env' allowed () `env' . allowed ( modules ) . . zsh . `perl' `python' `bash' `PERL5LIB' `PYTHONPATH' `BASHENV' ( ) . GNU `GCONV_PATH' ( zsh) . . `readonly' zsh . . zsh `zsh/system' `zsh/mapfile' `zsh/files' . /etc/zsh/zshenv . RCS GLOBAL_RCS ( / ). (unset) ( ) . $ZDOTDIR GLOBAL_RCS . RCS GLOBAL_RCS . $ZDOTDIR/.zshenv . (login shell) /etc/zsh/zprofile $ZDOTDIR/.zprofile . (interactive) /etc/zsh/zshrc $ZDOTDIR/.zshrc . /etc/zsh/zlogin $ZDOTDIR/.zlogin . $ZDOTDIR/.zlogout /etc/zsh/zlogout . exit logout (end-of-file) . exec (logout) . RCS GLOBAL_RCS . RCS RCS . ZDOTDIR HOME . /etc . /etc/zsh/zshenv zsh . `if [[ -o rcs ]]; then ...' zsh `-f' . zcompile ( zshbuiltins(1) ). ( .zwc) . See the file man1/zshroadmap.1. See the file man1/zshmisc.1. See the file man1/zshexpn.1. See the file man1/zshparam.1. See the file man1/zshoptions.1. See the file man1/zshbuiltins.1. See the file man1/zshzle.1. See the file man1/zshcompwid.1. See the file man1/zshcompsys.1. See the file man1/zshcompctl.1. See the file man1/zshmodules.1. See the file man1/zshcalsys.1. See the file man1/zshtcpsys.1. See the file man1/zshzftpsys.1. See the file man1/zshcontrib.1. (FILES) $ZDOTDIR/.zshenv $ZDOTDIR/.zprofile $ZDOTDIR/.zshrc $ZDOTDIR/.zlogin $ZDOTDIR/.zlogout ${TMPPREFIX}* ( /tmp/zsh* ) /etc/zsh/zshenv /etc/zsh/zprofile /etc/zsh/zshrc /etc/zsh/zlogin /etc/zsh/zlogout ( - /etc ) sh(1), csh(1), tcsh(1), rc(1), bash(1), ksh(1) IEEE Standard for information Technology - Portable Operating System Interface (POSIX) - Part 2: Shell and Utilities, IEEE Inc, 1993, ISBN 1-55937-255-9. zsh 5.9.2 July 12, 2026 ZSHALL(1)