Это действительно зависит от того, где / usr / bin и / bin и ~ / bin находятся в экспортируемой переменной PATH.
EX:
PATH=/usr/bin:/bin:~/bin
-----> charles will be found in /usr/bin and used from there
PATH=~/bin:/usr/bin:/bin
-----> in this case charles will be found first in the users' bin
and used from there