Precedence for the Commandline $PATH

On the commandline the elements of PATH are checked from left to right.

an example (PATH)

the command which exists in

for the following path


the /usr/bin/ gets precedence.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: