TAILIEUCHUNG - Red Hat Linux unleashed Second Edition phần 6

Các trang người đàn ông không phải là một tập tin hoặc thư mục của số ít hướng dẫn sử dụng Linux. Thay vào đó, các trang người đàn ông là một tập hợp các thư mục, MỖI Có chứa một phần của các trang người đàn ông. | System Administration and Management 330 Part IV The man pages are not a singular file or directory of Linux manuals. Instead the man pages are a set of directories each containing a section of the man pages. These directories contain the raw data for the man pages. In Red Hat Linux there are eight sections of man pages. In addition each section has corresponding catn subdirectories that store processed versions of the man pages. When a man page is accessed the program that formats the man pages saves a copy of the formatted man page in the catn etc catn directories. This saves time in the future because the next time a user requests a man page for a specific subject if that subject had been accessed before then the formatting does not have to be repeated but can be displayed from the previously formatted page. The following shows what information is found within each section Section Content 1 User commands 2 System calls 3 Functions and library routines 4 Special files device drivers and hardware 5 Configuration files and file formats 6 Games and demos 7 Miscellaneous character sets filesystem types datatype definitions and so on 8 System administration commands and maintenance commands The man command searches the sections in a predefined order 1 6 8 2 3 4 5 and 7. It checks for commands first followed by system calls and library functions and then the other sections. There is a special way of accessing the man pages so that all pages listing a certain piece of data are displayed. This is the keyword search for man pages man -k . In order to use this searching capability the command catman -w must be issued first. This command which takes a little while indexes the man pages so that the keyword search will work. One of the benefits of man pages is that you can add your own local man pages. A friend of mine did not know how to do this so he wrote a Perl program called that performed a similar function. It was a shame that he didn t have this book to tell .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.