echo $PATH

Category: Environment & Config

echo $PATH

Print the current PATH variable showing all directories

Shows all directories the shell searches when you type a command name.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.