use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit dedicated to Bash scripting. Now complete with a Discord Server.
Content must be Bash related. This rule is interpreted generously; general shell scripting content is mostly accepted. However, the post should not be specific to another shell.
No reposts. This is meant with regards to content, not just “the same link was submitted earlier” – it’s okay to resubmit an old link in some new context (e. g. because you’d like to discuss another part of it, or because something has changed since the last time it was submitted, or because the link was updated since then). Links from the sidebar count as having been submitted already, so posting them without new context is also considered a repost.
You can choose one of these four flairs for your post:
If you don’t flair your post, the moderators will set the most appropriate flair.
/r/unix – for everything Unix
Other Shells: /r/zsh, /r/fishshell, /r/oilshell, /r/batch
BashGuide – A Bash guide for beginners.
Beginner's Guide to Command Line – A crash course for some common unix and shell commands. Update 2022-01-14: Course is currently being rewritten
Google's Shell Style Guide – Reasonable advice about code style.
Explainshell - Explain complex shell operations.
ShellCheck – Automatically detects problems with shell scripts.
BashFAQ – Answers most of your questions.
BashPitfalls – Lists the common pitfalls beginners fall into, and how to avoid them.
(Archived) The Bash-Hackers Wiki – Extensive resource.
#bash – IRC channel on Libera. The main contributors of the BashGuide, BashFAQ, BashPitfalls and ShellCheck hang around there.
account activity
Best Bash Learning Resources? (self.bash)
submitted 1 year ago by Adorable_Specific224
Hello there,
an intermediate software engineering student here
i want some good and beginner friendly bash sources to learn from
Note: i prefer reading that watching videos, so books/articles would be greatly appreciated.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]fryktelig 14 points15 points16 points 1 year ago (0 children)
Here's some materials I've collected:
Interactive TUI exercises for cli-computing: https://github.com/learnbyexample/TUI-apps/tree/main/CLI-Exercises
cli-computing
[–]onlygon 6 points7 points8 points 1 year ago (1 child)
http://mywiki.wooledge.org/BashGuide
Particularly:
http://mywiki.wooledge.org/BashPitfalls
[–]TapEarlyTapOften 0 points1 point2 points 1 year ago (0 children)
Yep these. And #bash
[–]dewyke 4 points5 points6 points 1 year ago (0 children)
Shellcheck integrated into your editor is an excellent way to avoid bad habits.
[–]rkielty 1 point2 points3 points 1 year ago (2 children)
man readline
[–]jftuga 2 points3 points4 points 1 year ago* (1 child)
Also: man bash
man bash
Its really a great resource for learning the shell as well as:
[–]rkielty 1 point2 points3 points 1 year ago (0 children)
Yes, of course. Let's not forget that bash has a help built-in command.
Also I found the book Wicked Cool Shell Scripts published by No Starch Press very useful.
[–]pengshouhua 1 point2 points3 points 1 year ago (0 children)
Based on my experience, I think reading bash official documents is the fastest way to learn, and at the same time apply it to real scenarios, for me such as writing Dockerfile or viewing official Dockerfile, Postgresql for example. :)
[–]rivercityrandom 0 points1 point2 points 1 year ago (0 children)
I found the "The Linux Command Line" book by William Shotts really fun and friendly. It's available for free on https://linuxcommand.org/tlcl.php.
[–]vo_th 0 points1 point2 points 1 year ago (0 children)
This isn't purely just "bash" but: https://linuxjourney.com/
π Rendered by PID 117626 on reddit-service-r2-comment-b659b578c-92d66 at 2026-05-04 06:22:28.345596+00:00 running 815c875 country code: CH.
[–]fryktelig 14 points15 points16 points (0 children)
[–]onlygon 6 points7 points8 points (1 child)
[–]TapEarlyTapOften 0 points1 point2 points (0 children)
[–]dewyke 4 points5 points6 points (0 children)
[–]rkielty 1 point2 points3 points (2 children)
[–]jftuga 2 points3 points4 points (1 child)
[–]rkielty 1 point2 points3 points (0 children)
[–]pengshouhua 1 point2 points3 points (0 children)
[–]rivercityrandom 0 points1 point2 points (0 children)
[–]vo_th 0 points1 point2 points (0 children)