Is there an environment setting to force selection of a particular executable which may be later in the PATH than an identically named executable?
I know that sounds vague. Let me explain by example.
Say you have a script called "who" in /usr/local/bin, but there is also the built-in command in /bin. Your PATH is:
/bin;/usr/bin;/usr/local/bin (to make this simple).
Is there a way to force the shell to run /usr/local/bin/who instead of /bin/who without specifying the full pathname?
I know that sounds vague. Let me explain by example.
Say you have a script called "who" in /usr/local/bin, but there is also the built-in command in /bin. Your PATH is:
/bin;/usr/bin;/usr/local/bin (to make this simple).
Is there a way to force the shell to run /usr/local/bin/who instead of /bin/who without specifying the full pathname?