Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
MakeWhatIs
Edit
PageHistory
Diff
Info
LikePages
!!!/usr/sbin/makewhatis apropos(1) just seaches a large text file called __whatis__. Each line in __whatis__ contains the name, section number and short descrition of one man page in your installation. __whatis__ is created by a script called __/usr/sbin/makewhatis__[1]. If you find that apropos(1) never finds anything there may be be no __whatis__ file yet. Run __/usr/sbin/makewhatis__ as [root] (see su(1)) and it will be created. (Note: __/usr/sbin/makewhatis__ can sometimes take several minutes to finish.) Section (3) man pages contain descriptions of [C] and [TCL] library functions for programmers. There are so many of these that they overwhelm everything else. You can remove them from __whatis__. As [root], edit the script __/usr/sbin/makewhatis__. Around line 75 you will see a line like this, sections="1 2 3 4 5 6 7 8 9 n l" Remove the __"3"__. Run __/usr/sbin/makewhatis__ again, and the section (3) entries will be gone. --GlynWebster ---- __alias apropos='apropos | grep -v "(3)"'__ does the same job, and is a little easier to undo when you happen to be programming and want those entries back.. --[zcat(1)] True, but does ''anyone'' use man(1) to look up programming documention? --GlynWebster All the time! Whenever I'm programming in [C] or [C++] (or occasionally [Python] and [Perl], if calling libc functions from there). What better way to refresh your memory of the correct order of arguments for memset(3), or to find out which header files you need to #include if you want to call the inet_addr(3) function? Sure beats getting out of the chair and finding a reference book :) --JohnMcPherson Er, I'd be lost without man 2,3,4, 7 and 8! Hence why I'm constantly touching up their wiki pages (as I'm starting to try and use the wiki instead of man for these) -- Isomer ---- [1] This where [Mandriva] and RedHat keep __makewhatis__. [YMMV].
One page links to
MakeWhatIs
:
apropos(1)