Những câu hỏi thường gặp về Linux
H:
Làm thế nào để đặt cấu hình lúc khởi động?
Đ:
You can configure Linux tại the
lilo:
prompt either bởi typing the kernel arguments tại the
BOOT lilo:
prompt, or bởi adding an “
append=
” directive to the [/etc/lilo.conf] file; for example:
# tại the LILO prompt (example only): BOOT lilo: parport=0x3bc,7 parport=0x3bc,none se-
rial=0x3f8,4 serial=0x2f8,3
# Example statement for /etc/lilo.conf:
append="parport=0x3bc,none serial=0x3f8,4 serial=0x2f8,3"
If you modify the [/etc/lilo.conf] file, be sure to run the lilo command to install the new configuration.
Configuration notes for specific hardware devices are in the documentation of the kernel source bản
phân phối, [/usr/src/linux/Documentation] in most những bản phân phối.
Refer to the lilo và [/etc/lilo.conf] manual pages, as well as the LDP BootPrompt-HowTo (“Tài liệu ở
đâu?
”), và the documentation in [/usr/doc/lilo].
H:
Làm thế nào để định dạng Man Pages không cần man hoặc groff?
Đ:
The man2html program translates groff text to HTML, which you can view with a Web browser.
The man2html program, và many like it, are availble on the Web. Look for them with your favorite
search engine.
The unformatted manual pages are stored in subdirectories of [/usr/man], [/usr/local/man], và elsewhere.
If you want to view text, use nroff và less. Both of these programs have MSDOS versions with an
implementation of the man macro package available as well. An example would be:
$ nroff -man /usr/man/man1/ls.1 | less
If you know where to find a good implementation of the man macros without installing groff , please let
the FAQ maintainer know.
If the manual page filename ends in “
.gz
,” then you’ll need to uncompress it before formatting it, using
gzip -d
or gunzip. A one-line example would be:
$ gzip -dc /usr/man/man1/ls.1.gz | nroff -man | less
48