r/linuxdev • u/[deleted] • Feb 15 '16
I want to know everything.
I've been on a trek through Linux for probably a little over a year, tried out more distros than I care to admit.
For the last couple of months, I've been trying my damnedest to try to figure out what runs, why it runs, and how it runs. It's been excruciatingly slow work.
So, are there any comprehensive documents on Linux from the bottom up? The more recent the better.
2
u/raphael_lamperouge Feb 16 '16
I have a better way to do this:
Install Arch Linux, Gentoo, NixOS or Linux From Scratch.
1
Feb 16 '16
Ha, cute. I've done Arch and Nixos, and read LFS. I think my current plan is to just figure out what each package does in detail. Then I'll install what I think I need to run a basic X session, using Slackware's package manager. Then I'll worry about kernel stuff. And I now have a lot of reading material on Linux (and UNIX). Good times.
2
u/raphael_lamperouge Feb 16 '16
I think no book will express what you want to know, your best bet is read the source code, it's the best documentation, even when you can only understand 30% of it (eg. me)
2
u/cheaphomemadeacid Feb 22 '16
Not sure why people downvote you, this is a legitimate way to learn stuff, i wouldn't ignore the kernel stuff though, try reading some stuff from the Documentation directory in the kernel source (reading the source code was suggested but that seems overkill at this point). if you want a more dev like approach try making a few kernel modules (yes it will panic, that's part of the fun)
5
u/oarmstrong Feb 15 '16
As this doesn't seem to be specifically about development for Linux, you might get a better response from /r/linux4noobs or /r/linux which are much larger communities.
5
u/LiamMayfair Feb 15 '16
Yes, of course. For a "quick" overview which covers the fundamentals in a marvellous way, delving into some really appreciated detail at various points, read "How Linux Works: What Every Superuser Should Know".
For a longer overview, read "Running Linux" by O'Reilly. It's outdated at some points (like the X11 chapter, or maybe that's because my Arch install is too bleeding edge...) but definitely worth the read.
Now, if you want to get real serious about learning how Linux works, read the almighty de facto Linux bible: The Linux Programming Interface. That is the go-to manual for any Linux engineer. It explains all of Linux in extreme detail, even going to the point of showing you all the C code behind what makes it work and how to use Linux's ABI (syscalls and such) to write Linux low-level applications. It's well over a thousand pages so I think that should have you covered for a while!
1
Jul 21 '16
I recently stumbled upon this gem: http://www.linux.org/threads/linux-kernel-reading-guide.5384/ It's from May 2013 but very well done!
2
Jul 21 '16
It's been over a third of a year since I posted this, and I am getting into some kernel stuffs, so thanks!
3
u/thom986 Feb 24 '16
Take care, trying to learn about everything is quite large and could lead to know nothing (Jon Snow).
Nevertheless, The Linux Programming Interface could be a start. Its covered a lot of topic and Michael Kerrisk is a great writer. (for tech books)
When a topic seems interesting, try to specialise a bit.
Oh; Print the doc from Brendan Gregg on the Linux Performance Observability tools. http://www.brendangregg.com/linuxperf.html