Linux-man page(Linux在線手冊) 的簡單使用

Linux-man page(Linux在線手冊) 的簡單使用

其中man是manual的縮寫

必須要記得的代碼號是1,5,8
命令: man 7 man
部分結果:
The manual sections are traditionally defined as follows:

              1 Commands
                        Those commands that can be executed by the user from
                        within a shell.(使用者在shell環境中可以操作的指令或可執文件)

              2 System calls
                        Those functions which must be performed by the kernel.

              3 Library calls
                        Most of the libc functions, such as qsort(3).

              4 Special files
                        Files found in /dev.(裝置檔案的說明,通常在/dev下的文件)

              5 File formats and conventions
                        The format for /etc/passwd and other human-readable
                        files.

              6 Games

              7 Conventions and miscellaneous
                        A description of the standard file system layout, net-
                        work protocols, ASCII and other character codes, this
                        man page, and other things.(慣例與協定等,例如Linux檔案系統、網路協定、ASCII code等等的說明)

              8 System management commands
                        Commands like mount(8), many of which only root can
                        execute.


              9 Kernel routines
                        This is an obsolete manual section.   Once it was
                        thought a good idea to document the Linux kernel here,
                        but in fact very little has been documented, and the
                        documentation that exists is outdated already. There
                        are better sources of information for kernel develop-
                        ers.(跟kernel有關的文件)

按鍵 進行工作進行工作 空白鍵空白鍵 向下翻一頁 [Page Down] 向下翻一頁 [Page Up] 向上翻一頁 [Home] 去到第一頁 [End] 去到最後一頁 /string 向『下』搜尋string這個字串,如果要搜尋vbird的話,就輸入/vbird ?string 向『上』搜尋string這個字串 n, N 利用/或?來搜尋字串時,可以用n來繼續下一個搜尋(不論是/或?) ,可以利用N來進行『反向』搜尋。 舉例來說,我以/vbird搜尋vbird字串,那麼可以n繼續往下查詢,用N往上查詢。 若以?vbird向上查詢vbird字串,那我可以用n繼續『向上』查詢,用N反向查詢。 q 結束這次的man page
       man page通常是放在/usr/share/man這個目錄裏頭,然而,我們可以通過修改他的man page搜尋路徑來改善這個目錄的問題(但這也太無聊了吧)! 修改/etc/man.config (有的版本爲man.conf或manpath.conf)即可!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章