有时候,linux内核文档对我们很重要,我们可以在linux系统中安装,并及时查看:
参考链接:https://askubuntu.com/questions/841043/where-is-the-kernel-documentation
In CentOS I can do yum install kernel-doc and then read /usr/share/doc/kernel-doc/Documentation/filesystems/proc.txt.
How would I do the equivalent in Ubuntu? Professor Google told me it was in the source code so I did apt install linux-source but I can't find proc.txt anywhere.
I'm guessing there's a different way of doing it in Ubuntu.
The package name is linux-doc, after you apt install linux-doc look in /usr/share/doc/linux-doc.
In general anything that would be called "kernel" in RH/CentOS land will be called "linux" in Ubuntu since Ubuntu is based on Debian which has versions with other kernels like GNU Hurd and BSD.
保持更新,转载请注明出处;更多内容请关注 cnblogs.com/xuyaowen;
# 补充
对于解压后的大多都是 .gz 文件;可以使用 zcat; vim 直接查看;也可以使用 gunzip解压成txt文本来进行查阅;