Set colors for mans pages:
The Setup method is relatively simple, open/ETC/BASH.BASHRC (requires root permission) or ~/.BASHRC file to add the following content:
# Set colors for mans pages
Man () {
ENV \
less_termcap_mb=$ (printf "\e[1;31m") \
less_termcap_md=$ (printf "\e[1;31m") \
less_termcap_me=$ (printf "\e[0m") \
less_termcap_se=$ (printf "\e[0m") \
less_termcap_so=$ (printf "\e[1;44;33m") \
less_termcap_ue=$ (printf "\e[0m") \
less_termcap_us=$ (printf "\e[1;32m") \
Man "[email protected]"
}
Re-open the terminal, now executes the man has color.
The script actually defines a man function, which is executed every time we execute the man.
If you perform the original man run/usr/bin/man.
Convert the Linux man manual to a readable format in Windows:
Man LS >ls.txt
But from the Linux system.Windows does not look normal.
Workaround:
Man ls | Col-b >ls.txt
Format: Man Command_name | Col-b >command_name.txt
Feel inconvenient or make PDF ebook
The
format is as follows: Man-t command_name | ps2pdf->command_name.pdf
http://www.kerneltravel.net/?page_id=5 LINUX Kernel
Http://www.dit.upm.es/~jmseyas/linux/kernel/hackers-docs.html Online document book about Linux Kernerl
https://lwn.net/Articles/648154/:Adding Processor Trace support to Linux
http://halobates.de/blog/
Http://kernelplanet.org/LINUX Kernel site
Https://www.kernel.org/doc/LINUX Kernel Documentation
Https://github.com/tinyclub/linux-doc
Linux kernel source comes with a lot of excellent document information, so what is the approximate reading order of these documents?
(http://lxr.linux.no/linux+v2.6.36/is a good place to read the Linux kernel source online)
Part I: Learning to install using the Linux kernel, GPL specification, and how to contact Linux kernel maintainers
1, README (Http://lxr.linux.no/linux+v2.6.36/README), its content includes the following parts: What is Linux, the hardware environment to run, how to install and upgrade the Linux kernel source code,
The minimum set of software tools required to compile the Linux kernel, how to compile the kernel, how to use and boot the new kernel, and how to handle problems when encountered.
2, COPYING (Http://lxr.linux.no/linux+v2.6.36/COPYING), this is the GNU protocol GPL detailed description.
3, CREDITS (Http://lxr.linux.no/linux+v2.6.36/CREDITS), this is a list of some programmers who have contributed to the Linux kernel.
4, Reporting-bugs (Http://lxr.linux.no/linux+v2.6.36/REPORTING-BUGS), this is the specification to submit a bug.
Part II: Understanding the overall structure of the Linux kernel source documentation documentation and the encoding style of the Linux kernel
5, Documentation (http://lxr.linux.no/linux+v2.6.36/Documentation/), this folder contains the Linux kernel specific document content, some of the more important documents.
6, Documentation/00-index (Http://lxr.linux.no/linux+v2.6.36/Documentation/00-INDEX), This document describes the general role and content of each document under the Documentation folder.
7, Documentation/changes (http://lxr.linux.no/linux+v2.6.36/Documentation/Changes), this document lists and describes the minimum set of tool software that runs the Linux kernel.
8, Documentation/codestyle (Http://lxr.linux.no/linux+v2.6.36/Documentation/CodingStyle), this document describes the encoding style of the Linux kernel.
Part III: Start learning the Linux kernel
9, Documentation/howto (Http://lxr.linux.no/linux+v2.6.36/Documentation/HOWTO), describes how to become a kernel developer.
10, Documentation/kernel-docs.txt (http://lxr.linux.no/linux+v2.6.36/Documentation/ Kernel-docs.txt), you'll need a lot of reference books to start learning about the Linux kernel, which lists a lot of great resources to learn about the Linux kernel, including many famous books, such as Linux Device drivers.
Part IV: Documentation of the specific modules of the Linux kernel, which can be viewed in terms of their own research interests, such as the boot code documentation for the Linux kernel, the file system code documentation, and so on.
11, Documentation/x86/boot.txt (Http://lxr.linux.no/linux+v2.6.36/Documentation/x86/boot.txt), introduced the Linux kernel boot use protocol, memory structure diagram and so on.
12, Documentation/filessystems/ext4.txt (Http://lxr.linux.no/linux+v2.6.36/Documentation/filesystems/ext4.txt), introduced the Ext4 file system
LINUX Kernel document Address