New answers tagged

2

The more complete rule is actually: if any slash / is in the path, don't search PATH Before we go into the rationale, you should first know about this fact: running either of: bin/someprog or: /bin/someprog or: cd bin ./myexec execute bin/someprog without searching the PATH variable for the exact same reason: all of bin/someprog, /bin/someprog and ./...


Top 50 recent answers are included