Hey @Zeviraty, reversing the PATH might not be the right approach here.
It’s completely okay for multiple files to have the same name within your PATH. For instance, my system has several entries for python3:
The catch is that NOT all files found via PATH are necessarily executable. You’ll want to skip any entries that don’t have execute permissions.
Let me know if you’d like further clarification!