
Linux/UNIX 系统编程手册
Linux Programming Interface
Michael Kerrisk · 初版 2010 年
109人推荐
147位读者提及
181次提及
为什么值得读
- 极为详尽地解析Linux系统接口与运行机制
- 兼具深度例程与练习,实用建议比同类经典更多
- 与网络编程经典并列为入门套接字编程的核心读物
Hacker News 上怎么说
正在加载完整评论……

Linux Programming Interface
Michael Kerrisk · 初版 2010 年
正在加载完整评论……
学习 Linux 内核工作原理的一个重要部分,就是理解内核提供的系统接口的细节。在我看来,市面上没有哪本书比 Michael Kerrisk 的《Linux/UNIX系统编程手册》(The Linux Programming Interface)更好了:http://man7.org/tlpi/ 它提供了关于 Linux 内部运转一切细节的极为详尽的信息,还有示例程序和练习题来帮你加深理解。……
One important part about learning how the Linux kernel works is understanding the details of the system's interface the kernel provides. In my opinion, there is no better book out there than the "Linux Programming Interface" by Michael Kerrisk: http://man7.org/tlpi/ It provides extremely detailed information about everything going on in Linux, as well as example programs and exercises to help you further your knowledge.…
如果 Michael Kerrisk 能看到这个:要是能为那本伟大的《Linux/UNIX系统编程手册》出一本小册子补充书,专门讲讲 namespaces、capabilities 等内容,那就太棒了。
If Michael Kerrisk is reading this: would be great to have a small supplementary book to the great "The Linux Programming Interface" that handles namespaces, capabilities et al.
赵炯的《Linux内核完全剖析》和 Michael Kerrisk 的《Linux/UNIX系统编程手册》是我所知道的最棒的两本。
"A Heavily Commented Linux Kernel Source Code" by Zhao Jiong and "The Linux Programming Interface" by Michael Kerrisk are the best I'm aware of.
……linux 的问题在于没人对搞好整个 man 手册系统负总责。Linux 内核相关的内容归 linux man 项目管。这个项目由 Kerrisk 掌舵,他是个很棒的沟通者——《Linux/UNIX系统编程手册》读起来有 Stevens 的神韵,但实用建议更丰富。但如果你去看 awk、bash 或 grep 这种工具的 man page(最常见的场景——你需要快速查阅参考的时候),它们维护得……
…problem with linux is that nobody owns responsibility for making the whole man system good. Linux kernel stuff is covered by the linux man project. This is run by Kerrisk, who is a good communicator - _The Linux Programming Interface_ reads like Stevens but is richer in practical advice. But if you go to the man page for something like awk or bash or grep (the common use-case - where you need a quick reference), they're maintained…
老实说,能有不同的参考资料以不同的方式来讲解同一套内容还挺不错的。这本、Stevens 的《UNIX网络编程》,再加上 Kerrisk 的《Linux/UNIX系统编程手册》,就是一个学生搞懂 socket 编程所需要的一切了。
It's honestly kind of nice to have multiple sources treating the same material a different way. This, Stevens' UNIX Network Programming, and Kerrisk's The Linux Programming Interface are all a student should need to get started with socket programming.
Joe Bentley 的《编程珠玑》(Programming Pearls),还有它的续作。虽然年代久远,但确实能引发你的思考。我也推荐 Michael Kerrisk 的《Linux/UNIX系统编程手册》,它讲透了究竟是什么构成了现代 Unix 的底色,不过……不可避免地,它在很大程度上是围绕 C 语言展开的。但它绝不是一本单纯的“C 语言书”。
Programming Pearls by Joe Bentley. And its followup. It's old but it does get you thinking about things. I'd also recommend The Linux Programming Interface by Michael Kerrisk as it teaches so much about what makes modern Unix what it is but.. it's arguably quite oriented around C by necessity. It's not a "C book" by any means though.