info 命令是否顯示手冊頁?
當我偶然發現該命令時,我正在尋找一種方法來遵循手冊頁中的“超連結”,該
info
命令似乎顯示的命令資訊與超連結相同,man
但也允許您選擇超連結(遺憾的是沒有 vim 鍵綁定,但箭頭鑰匙工作)但這讓我想知道這個命令是否只是顯示具有不同格式和顯示功能的手冊頁……或者它是否顯示完全像一組單獨的文件的其他內容。
man
andinfo
use different primary sources of information:man
displays manpages, typically stored in/usr/share/man
, whileinfo
displays Info documents, typically stored in/usr/share/info
. Additionally, Info documents are normally available in a tree structure, rooted in/usr/share/info/dir
, the “Directory node” displayed when you startinfo
.Whether a given manpage contains the same information as its corresponding Info document depends on who authored both. In some cases, they’re produced from a common source, or one is produced from the other; but in many cases they’re different.
info
如果沒有找到 Info 文件,GNU將顯示一個聯機幫助頁。Pinfo還可以顯示 Info 文件和手冊頁,並在手冊頁中提供超連結;它的鍵綁定也可以配置為符合您的口味。