What does man -k do?

The man -k <keyword> command is used to search the manual page names and descriptions for a specified keyword. It is equivalent to the apropos <keyword> command. This command helps you find commands related to a particular topic or keyword.

For example:

man -k copy

This will return a list of manual pages that contain the word "copy" in their name or description.

0 Comments

no data
Be the first to share your comment!