help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to override the default executable resolution order of PATH?


From: Peng Yu
Subject: How to override the default executable resolution order of PATH?
Date: Sat, 2 May 2020 16:48:06 -0500

Suppose

1. dir1 is before dir2 in PATH.
2. Most of the executables with the same name should be resolved to
those in dir1 instead of dir2.
3. There are a small fraction of executables with the same name should
resolve to those in dir2.
4. dir1 and dir2 can not be modified.

Does anybody know the best way to fine control how the executables are
resolved to? Thanks.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]