Why is it necessary to execute the file./

Reference link .

The reason is that the executable file directory is not included in the environment variable PATH, and the linux system will only search for the PATH variable. But under Windows, it can be because the system will search the PATH variable and the current directory.

Add the current directory to the environment variable from the command line

setenv PATH $PWD/:${PATH}

Guess you like

Origin blog.csdn.net/qq_32507417/article/details/111032956