TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Book on Linux

30 pointsby NCaffer11 months ago
What's the best book for beginners to learn Linux?

14 comments

frithsun11 months ago
Unix Power Tools<p>The Linux kernel doesn&#x27;t matter. What matters is understanding the history, philosophy, and purpose of the unix environment.<p>You needn&#x27;t become a religious zealot committed to the unix philosophy, but if you don&#x27;t take the time to understand it, you&#x27;ll never get the most out of the environment.
评论 #40744361 未加载
评论 #40744773 未加载
thaumiel11 months ago
I have found that How Linux Works, 3rd Edition from No Starch Press is a pretty good book talking about linux for beginners.
评论 #40744741 未加载
coldtea11 months ago
Start here: <a href="https:&#x2F;&#x2F;web.mit.edu&#x2F;~simsong&#x2F;www&#x2F;ugh.pdf" rel="nofollow">https:&#x2F;&#x2F;web.mit.edu&#x2F;~simsong&#x2F;www&#x2F;ugh.pdf</a>
评论 #40748795 未加载
abdullahkhalids11 months ago
Linux From Scratch [1] calls itself a collection of book.<p>[1] <a href="https:&#x2F;&#x2F;www.linuxfromscratch.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.linuxfromscratch.org&#x2F;</a>
jovial_cavalier11 months ago
The trouble is that things change too quickly for there to be a specific tome that everyone agrees is gospel. I think the closest you will get to gospel in this space are classic books like K&amp;R C, which have very little to do with Linux per se.<p>Also, a &quot;book on linux&quot; is going to look very different if it&#x27;s based on Debian as opposed to e.g. NixOS. Linux distros come in all shapes and sizes and no matter what level you&#x27;re operating on (just using the GUI, light sysadmin, deep systems programming, down to kernel hacking), they may appear as totally different paradigms.<p>I would recommend simply daily driving Linux. If you&#x27;re still using another operating system, ween yourself off of that. Additionally, there are a bunch of obvious projects that are low hanging fruit for just getting to grips with Linux. Want a personal website? Spin up a VPS or a cheap laptop and build it from scratch. Set up your own personal email. Get certbot running. Write a simple server in C that can do request&#x2F;response of TCP. Write an i2c driver for some random micro you have lying around. Whatever you are interested in making&#x2F;doing, just go do it.<p>Resist the urge to google everything. `man` has more information than you think it does.
评论 #40759979 未加载
trod12311 months ago
There is no best book. The general recommendations vary depending on your background knowledge.<p>A very basic starting point would be linuxjourney.com.<p>It is also important to be aware that there are no guarantees that programs provide output that maintains determinism. This is important because computation often fundamentally breaks with violations of determinism.<p>ldd for example has several determinism errors in its output which breaks the required 1:1 unique input to unique output map property, as a result piping it to any program will result in non-deterministic outputs that break automation. * Note: PAX ended up fixing this properly in their repo package back in 2018 iirc, the ldd maintainers never accepted the changes upstream and its unfixed to this day.<p>Lower intermediate might be RHCSA material and tearing down existing distros by package and identifying functional blocks and implementation&#x2F;integration details.<p>LFS is more upper intermediate, and requires some background knowledge of using freestanding code and their relevant toolchains, and common problems you might face in software compilation (i.e. circular dependencies, first&#x2F;second pass libstd++).
arh6811 months ago
While not a book per se, I learned a lot from the Gentoo Wiki. Trial and error could get a determined beginner through a stage 3 install, I think.<p>[1] <a href="https:&#x2F;&#x2F;wiki.gentoo.org&#x2F;wiki&#x2F;Handbook:AMD64" rel="nofollow">https:&#x2F;&#x2F;wiki.gentoo.org&#x2F;wiki&#x2F;Handbook:AMD64</a>
jjice11 months ago
Depends on if you mean Linux internals, or working with Linux in general. In the case of the latter, I really liked &quot;Unix and Linux System Administration Handbook&quot;. It&#x27;s a monster sitting at just under 1200 pages (for the fifth edition) and covers a bit of everything from a user of a Unix OS&#x27;s perspective. The way the chapters are broken out, you can pick and choose what you care about.<p>The modern editions of this book are primarily focused on Linux with some side notes for the BSDs.
LargoLasskhyfv11 months ago
Maybe <a href="https:&#x2F;&#x2F;www.debian.org&#x2F;doc&#x2F;manuals&#x2F;debian-handbook&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.debian.org&#x2F;doc&#x2F;manuals&#x2F;debian-handbook&#x2F;</a><p>and&#x2F;or <a href="https:&#x2F;&#x2F;debian-handbook.info&#x2F;" rel="nofollow">https:&#x2F;&#x2F;debian-handbook.info&#x2F;</a> ?<p>Which obviously is specific to Debian, but up date.<p>Debian in itself is an acceptable distro, anything that&#x27;s out there, exists for Debian.
asicsp11 months ago
I have a list of learning resources for CLI tools and shell scripting here: <a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;curated_resources&#x2F;linux_cli_scripting.html" rel="nofollow">https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;curated_resources&#x2F;linux_cli...</a>
p1esk11 months ago
This was the book that explained everything I needed to know about Linux with very little noise: Beginning the Linux Command Line, by Sander van Vugt.<p>Today I would heavily supplement it with answers from GTP4o (or perhaps Sonnet 3.5).
NCaffer11 months ago
Thank you for your recommendations! You’ve been very helpful.
johnthescott11 months ago
back in the day, long before linux&#x2F;gnu existed, i learned quite a bit on the unix philosophy from &quot;The Unix Programming Environment&quot; by Rob Pike and Brian Kernighan.
brudgers11 months ago
In the long run, I&#x27;ve learned the most important things from just using Linux, but I used books when starting and occasionally now.<p>For me, it was <i>Linux in a Nutshell</i> (942 pages in the current edition) because I wanted a reference made of paper instead of pixels.<p>Later for deep background, <i>Design of the Linux Operating System</i> <a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;DesignUNIXOperatingSystem" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;DesignUNIXOperatingSystem</a> but I picked up an used print copy for &lt;$10.<p>Those were the best books for me. You are not me. Good luck.