Environment variable -path: An executable program (.sh/.exe/.bat, etc.) that is not added to the environment variable -path and can only run in its root directory (the absolute path of the executable program). If you add the root directory to path, you can run it under any directory.
Reference blog:
Baike.baidu.com/item/%E7%8E…