Linux CLI - Searching and Finding
What is the primary difference between the
which and whereis commands in Linux?which and whereis commands in Linux?which command behaviorwhich locates the executable file in the user's PATH environment.whereis command behaviorwhereis locates the binary, source, and manual files for a command.which shows the path of the executable, whereis shows binary, source, and man pages -> Option Awhich and whereis = A [OK]which for executables, whereis for more info [OK]which with whereis outputwhich shows source fileswhereis searches only PATH15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions