web-dev-qa-db-ja.com

Linuxで人間はどのように機能しますか?

私たちがman std::vector、どのように/どこで対応するドキュメントを内部で検索しますか?

4
xpbug

man(1)のマニュアルページから:

SEARCH PATH FOR MANUAL PAGES
   man uses a sophisticated method of finding manual page files, based  on
   the  invocation  options and environment variables, the /etc/man.config
   configuration file, and some built in conventions and heuristics.

   First of all, when the name argument to man contains a slash  (/),  man
   assumes  it  is  a file specification itself, and there is no searching
   involved.

   But in the normal case where name doesn’t contain a slash, man searches
   a variety of directories for a file that could be a manual page for the
   topic named.

しかし、そこにはもっとたくさんのテキストがあります。暇なときに読ませてあげます。