Shell
PATH
Search paths for executable commands.
Ubuntu
Debian
Arch
Fedora
CentOS
SUSE
Alpine
macOS
FreeBSD
Verified: 2026-05-12
Syntax
$echo $PATH
Examples
$echo $PATH
$export PATH=$HOME/bin:$PATH
Typical use cases
?
Standard usage
PATH --help
Note
Colon-separated list. Order decides which binary is found first.
Export