Question 410
Before changing a Linux system, an engineer observes: An administrator needs to locate both a command's executable and its manual page in standard locations. Which check most directly isolates the relevant cause or prerequisite?
Explanation
Correct Answer
Check whether the command is installed and distinguish runtime PATH from standard file locations. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use whereis command-name for typical binary, source, and manual locations.
Incorrect Answers
Check the intended data's role against Filesystem Hierarchy Standard directory purposes. That would matter when an administrator wants to place persistent host-specific configuration under /usr/bin to keep it near program executables. The relevant distinction in this case is: Check whether the command is installed and distinguish runtime PATH from standard file locations.
Inspect whether the files are mutable runtime data or read-only architecture-independent resources. That would matter when a service stores changing logs directly in /usr/share and a package update replaces them. It does not address this case's requirement: An administrator needs to locate both a command's executable and its manual page in standard locations.
Check whether the locate database is present and when it was last refreshed. That would matter when a file was recently installed but locate cannot find it even though find does. That separate mechanism does not verify the needed Linux administration outcome in this case.