$PATH  –  Search Path for Commands

$PATH defines where the shell searches for commands. Separate entries with colons :. Entries are searched left to right.

When you invoke a command just by name, e.g. man instead of /usr/bin/man, then the executable file is searched in $PATH.

In Zsh the variable $path contains the same data as $PATH, but as an array.

BashSuport Pro ist eine Bash und POSIX IDE mit Unterstützung für $pathprobieren Sie es aus!
© 2020–2024 Joachim Ansorg
Impressum
Datenschutz
Rechtliches