What is the purpose of the -m option in the whereis command?

The -m option in the whereis command is used to display the manual page files for the specified command. When you use whereis -m <command>, it will return the location of the manual pages associated with that command, if available.

For example:

whereis -m ls

This command will show the path to the manual page for the ls command.

0 Comments

no data
Be the first to share your comment!