man:tldr:4709c
man: Display the location of a manpage rather than the manpage itself.
$ man --where ${command}
try on your machine
The man --where ${command}
command is used to find the location of the manual page (man page) corresponding to a specific command.
Here's a breakdown of each component:
man
: It is the command to view the manual pages in Unix-like operating systems.--where
: It is an option or flag provided to theman
command, specifically used to find the location of the specified command's man page.${command}
: It is a placeholder representing the name of the command whose man page location we want to know. You would replace${command}
with the actual name of the command you're interested in.
By using this command, you can determine the file path where the system's man
command expects to find the manual page for a given command.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.