On 27/05/2016 13:25, Eric Vidal wrote:
> You put me doubt. If my environment PATH is declared as it :
> PATH=/usr/bin:/usr/local/bin, the first import program taken is
> /usr/bin/import, not? i'm wrong?
If PATH=/usr/bin:/usr/local/bin then "import" will *always* refer
to /usr/bin/import, and you have to hardcode /usr/local/bin/import if
you want to refer to that one.
If PATH=/usr/local/bin:/usr/bin, which it *should* be, because local
administrator binaries should always have precedence over distribution
binaries, then it's the other way around: you cannot refer to /usr/bin/import
unless you type the full absolute path.
--
Laurent
Received on Fri May 27 2016 - 11:46:20 UTC