this post was submitted on 22 Jul 2026
28 points (96.7% liked)

Linux

66581 readers
92 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

There is lots of books, videos and manuals about bash. So it is hard to tell if one is good or not. By advanced bash I mean regular expressions, complex scripts, and kind-of obscure options of basic commands no beginner tutorial tells about.

you are viewing a single comment's thread
view the rest of the comments
[–] vas@lemmy.ml 2 points 2 days ago* (last edited 2 days ago)

My personal basic tools for learning:

  • man bash. That's the documentation for everything. It's very careful and serious though, so sometimes you need...
  • Search in internet if you think your particular question is very "repeatable". Stackoverflow used to be good, but now they're all "AI AI AI by the way have ypu heard about AI?". So I'm not recommending it anymore. For "advanced bash" there are pages that go over those "advanced topics", too!
  • Run shellcheck to read your code and give suggestions/warnings. It's a great tool for learning, too, besides the primary goal of reviewing code to be production-ready.
  • Sometimes, with extreme care, ask an LLM to review your code or give siggestions. It tends to hallucinate a lot, makes up wrong and unexisting stuff, but sometimes it's useful, too. Especially at finding bugs. Again, it can be useful, but use with care. Oh, and it can actually be great at explaining, too. Throw it some syntax/code and it'll explain wtf is going on. This part is very reliable and good.

At my current level of experience I need mostly man bash, before I used a lot of stackoverflow and simply thinking of what I even want.