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.

Vagrant, Host Machine, Guest machine.

guest machine – The virtual machine
host machine – Your local machine, hosting the guest machine.

guest port – The port on the virtual machine.
host port – The port on your local machine you want to use to access the guest port.