Ask HN: What are the best maintained how-to sites for Linux?
A recent thread talked about a how to site that was well done but hadn’t been updated in a good 5 years. I’d love to have a list of Linux how to sites and reference#s for how to articles and just basic documentation from general, to distro specific, to scripting. As a macOS user, it’d be cool if there was another set of how to and reference sites that are up to date covering terminal for macOS, including using Zsh which the shell Mac is transitioning to.
It woukd be kid of cool to do a lot of stuff on the Mac command line. If you got really good at it, you’d be a far, far more efficient Mac user. Night and day difference.
Any suggestions on macOS terminal how to and doc sites, including ones that dive into zsh beyond just recommending Oh My Zsh, which is awesome, but it would be useful to find articles that dive deeper beyond just how to add on to Zsh to make it better automatically.
72 comments
[ 2.9 ms ] story [ 138 ms ] threadHowever – have a look at https://www.freebsd.org/docs/ – that is one thing that really sets FreeBSD apart from Linux.
https://fishshell.com/
https://superuser.com/questions/tagged/linux
https://unix.stackexchange.com/questions
https://wiki.archlinux.org/
Only paralleled, in excellence, by it's namesake dist ;)
It’s full of knowledge. Basically a treasure of knowledge.
And if you use duckduckgo, !aw.
https://serverfault.com/questions/tagged/linux
On the other hand I've found howtoforge.com to be the opposite of good and stopped using them a few years ago.
Every time I see the domain name cyberciti.biz, I expect the content to be scraped from the original source, and the page to be infested with ad-like garbage.
I'm not sure if either of these are fair assessments. The former I have not investigated, and the latter is mitigated by aggressive content blocking.
They treat articles like code, the average article has 30+ edits, and reports of issues are triaged and turned into edits and updates.
I mention it because a large number of my recent “how to x on Linux” search queries took me to this site, and it typically answered the question at hand. It also has a really pleasant design, IMO, and is updated frequently.
https://www.gnu.org/software/bash/manual/bash.html
http://write.flossmanuals.net/command-line/introduction/
I recommend this to everyone interested building tech muscles:
- set up a VM with a tool chain
- a slice of storage
- a weekend
. . .and level up.
Also, I'm putting together a master list [2] of the best resources from this thread and the other one OP mentioned. Let me know if I'm missing anything!
[1] https://www.cs.cmu.edu/~213/schedule.html
[2] https://trove.to/wes/trove/learn-linux
OP, you might be caught between a rock and a hard place here: if you're already familiar with your terminal and piping from stdin/stdout, there's not really a whole lot more to learn. Apple isn't very forthcoming with details on the inner workings of MacOS either, so you're going to have a tough time fully grokking how to use the command line effectively. And even if you do manage to figure it all out, you're only trapped with what they give you.
My advice? Learn ssh, and use it to connect to a real Linux box. That's how 90% of sysadmins do their work, it's how you should do it too.
- macOS uses BSD-style coreutils while most Linuxes use GNU coreutils. They have different args, output and behavior in many common cases.
- macOS ships with Bash v4. Bash v5 is a common default package on modern Linuxes.
- While the basic user permissions are the same, the OS security model is entirely different. There's no direct equivalent to namespaces in macOS and no direct equivalent to SIP in Linux.
You can download Bash v5 from Homebrew.
They should be sponsoring - officially - non-apple software on their platform because it will make their platform stronger and much more useful.
instead, I've seen:
- opensource.apple.com in decline
- other projects dropped or forgotten over the years (no gpl software after 2, xquartz pushed out to pasture, os support for python/etc very poor, many others...)
- focus on apple-specific languages (swift), frameworks and tools.
- decline in the ability for users to administer their own system
- limited ability for users to customize their system (although there are tools for sale, when they're not denied abilities and killed off)
they could do so much better.
Docker and Virtualbox can help here as well.
It's also worth noting that Homebrew provides all the standard GNU versions of pretty much any CLI tool you'd want.
Speaking of Homebrew, it's a great introduction to package managers, specifically because it's "low stakes" (you can't easily break your system), is easy to write your own packages for, and has everything under the sun in its repos.
I've found lots of great linux documenation on that site in a clear and readable form.
I don't know how to describe it, maybe as a sort of a github for docs?
The German version is great as well: https://thinkwiki.de/Hauptseite
good old HOWTOs etc * https://tldp.org/
my personal favorite distribution - with a social contract * https://wiki.debian.org/
the following distribution where the best entry-point for newbies at some time-periode & hat the advantage to provide a lot of good documentation about the specific distribution, but also linux in general ... at least in my perception
gentoo was cool before ubuntu existed * https://wiki.gentoo.org/
and ah, and gentoo has a social-contract similar to debian :)
then ubuntu was cool before arch existed * https://wiki.ubuntu.com/
german * https://ubuntuusers.de/
arch was cool until everybody discovered, that compiling your own shit is not so cool but pretty time-consuming ;) * https://wiki.archlinux.org/
idk ... whats the current go-to "distro for the technically interessted linux-newbies"?
btw. not linux specific, but afaik there are lots of FOSS related docus available * https://readthedocs.org/
I'm also maintaining a list of resources here: https://learnbyexample.github.io/curated_resources/linux_cli...