人在 linux 中是如何工作的?

xpb*_*bug 5 linux man

当我们man std::vector在内部如何/在哪里搜索相应的文档时?

Ign*_*ams 4

man(1)手册页:

\n\n
\n
SEARCH PATH FOR MANUAL PAGES\n   man uses a sophisticated method of finding manual page files, based  on\n   the  invocation  options and environment variables, the /etc/man.config\n   configuration file, and some built in conventions and heuristics.\n\n   First of all, when the name argument to man contains a slash  (/),  man\n   assumes  it  is  a file specification itself, and there is no searching\n   involved.\n\n   But in the normal case where name doesn\xe2\x80\x99t contain a slash, man searches\n   a variety of directories for a file that could be a manual page for the\n   topic named.\n
Run Code Online (Sandbox Code Playgroud)\n
\n\n

不过里面还有很多文字。我会让你在闲暇时阅读它。

\n