Hacker News new | ask | show | jobs
by pipes 854 days ago
Are there any books etc that you could recommend on Linux internals. I am mostly write c# code, and I didn't do computer science, I mostly self taught. I recently set myself the task of learning some c as I was finding that I was hitting a brick wall when it came to trying to learn more lower level concepts.

I want to work my way through computer systems a programmers perspective :

https://www.amazon.co.uk/Computer-Systems-Programmers-Perspe...

2 comments

I recommend consuming everything Brendan Gregg produces. His work is mostly around kernel performance profiling and tracing, but you can learn a lot from just doing that. Also, the vast majority of time when you need to dive into kernel internals it is for performance reasons.

https://www.brendangregg.com/linuxperf.html

If you prefer physical books “Systems Performance” by Brendan is good as well.

As the sister comment says, Linux Programming Interface is really good for learning linux system programming topics but it is mostly focused on user space.

For more userspace stuff I like Chris Wellons‘ blog at nullprogram.com

Thanks for this :)
If you're the kind of guy who likes to work through one 1000+ page behemoth at a time, I can recommend The Linux Programming Interface specifically. As a nice secondary bonus, the code examples are all in good old fashioned C, so you can compile and run them to test things out as you please. :)
Seconded and the book is https://man7.org/tlpi/. One can even reads parts of it digging deep into the area one is trying to understand better.
Thanks
Thanks