"Debian" whereis and which each application scenarios

command whereis which
use Pathfinder executable files, source files, manuals Find the executable file in the path $ path
the difference Executable files can be found outside of the $ path You can not find the executable files outside of the $ path
The underlying principle By file index database to find Find by $ path
     

Guess you like

Origin www.cnblogs.com/linyueshaoxia/p/11861126.html