$ info coreutils (ps: 膜拜一下....)
info 中的快捷键:
'q' exits. 'u' moves up to the table of contents of the current section. 'n' moves to the next chapter. 'p' moves to the previous chapter. 'space' goes into the selected section.
到底是哪一个? (btw: man -f open == whatis open)
$ whatis open open (2) - open and possibly create a file or device open (3) - perl pragma to set default PerlIO layers for input and output open (3pm) - perl pragma to set default PerlIO layers for input and output open (n) - Open a file-based or command pipeline channel
$ man 2 open
3. man提供搜索的:
$ man -k open4. man中的快捷键(ps: 是不是很像vi?)
space moves forward one page b moves backward y scrolls up one line "yikes, I missed it!" g goes to the beginning q quits /<string> search, repeat seach n m mark, enter a letter like "a", then, ' to go back ' enter a letter that is marked.
5. 话说 man 2 open, 2表示什么?在OpenBSD中
1 General Commands 2 System Calls and Error Numbers 3 C Libraries 3p perl 4 Devices and device drivers 5 File Formats and config files 6 Game instructions 7 Miscellaneous information 8 System maintenance 9 Kernel internals
6. 最后 你想知道man在哪里?
$ manpath or only get the man path of "ls" command: $ whereis -m ls