I have a problem on one of my servers. The 'ls' command does not have the -h 
switch available. So as a workaround until
I can determine what caused this and why I wanted to use the 'ls' file from 
another server. I copied /bin/ls from server
# 2 onto server # 1 and tested it and it works fine, including the -h switch.

 

So I typed set, read the PATH and found that /usr/local/bin is in the path 
before /usr/bin. I thought I could simply
drop the new ls in /usr/local/bin and the system would see it first when called 
and use it. WRONG.

 

So my questions are:

1.      why not?
2.      what is the order used in the path?

 

Thanks

 

Tony

Reply via email to