man-db note
鳥哥的私房菜
- 第五章、首次登入與線上求助 man page / 3. Linux系統的線上求助man page與info page
指令範例
$ man -a intro
執行
$ dpkg --get-selections | grep manpages
會顯示
manpages install
manpages-dev install
manpages-posix install
manpages-posix-dev install
執行
$ dpkg -l | grep manpages
會顯示
ii manpages 3.54-1ubuntu1 all Manual pages about using a GNU/Linux system
ii manpages-dev 3.54-1ubuntu1 all Manual pages about using GNU/Linux for development
ii manpages-posix 2.16-1 all Manual pages about using POSIX system
ii manpages-posix-dev 2.16-1 all Manual pages about using a POSIX system for development
執行
$ whatis
顯示
whatis what?
執行
$ man -f
顯示
whatis what?
執行
$ whatis intro
或是執行
$ man -f intro
顯示
intro (4) - introduction to special files
intro (2) - introduction to system calls
intro (8) - introduction to administration and privileged commands
intro (5) - introduction to file formats
intro (3) - introduction to library functions
intro (6) - introduction to games
intro (7) - introduction to overview, conventions, and miscellany section
intro (1) - introduction to user commands
執行
$ whatis intro | sort
或是執行
$ man -f intro | sort
顯示
intro (1) - introduction to user commands
intro (2) - introduction to system calls
intro (3) - introduction to library functions
intro (4) - introduction to special files
intro (5) - introduction to file formats
intro (6) - introduction to games
intro (7) - introduction to overview, conventions, and miscellany section
intro (8) - introduction to administration and privileged commands