有時候,linux內核文檔對我們很重要,我們可以在linux系統中安裝,並及時查看: 參考鏈接:https://askubuntu.com/questions/841043/where-is-the-kernel-documentation In CentOS I can do yum instal ...
有時候,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文本來進行查閱;