有时候,linux内核文档对我们很重要,我们可以在linux系统中安装,并及时查看:
参考链接:
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文本来进行查阅;
如对本文有疑问, 点击进行留言回复!!
linux下文本编辑器vim的使用方法(复制、粘贴、替换、行号、撤销、多文件操作)
网友评论