info&man的基本使用
发布时间:2020-12-16 00:34:50 所属栏目:大数据 来源:网络整理
导读:1. “info” 是获得系统信息的最好的命令, 从下面开始 $ 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 p
1. “info” 是获得系统信息的最好的命令, 从下面开始
$ 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. ?? 2. "man" 我们都熟悉,刚刚入门很纳闷,为什么man open,该死的系统完全拒绝帮助。给我一个openvt,no no 不是这个。 ???? 到底是哪一个??? (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 open?? 4.? 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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |