What is a good way to learn bash scripting

This page summarizes the projects mentioned and recommended in the original post on /r/bash

Our great sponsors
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • WorkOS - The modern API for authentication & user identity.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • pure-bash-bible

    📖 A collection of pure bash alternatives to external processes.

    Additionally, Pure Bash Bible is a bit more advanced but really fun to go through it.

  • tldr

    📚 Collaborative cheatsheets for console commands

    Find something to automate or make easier and write a script for it. If you get stuck on a detail, read the man pages of the command you're using (man pages confuse you? try tldr or cheat). Then google it, there's a shitton of SO Q&A on bash. If you can't find it, find a bash channel on irc or discord and ask (they'll expect you've read the FAQ though). Keep notes. I wrote a script to read and edit notes for bash, in bash, and it taught me new things!

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • cheat

    cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember.

    Find something to automate or make easier and write a script for it. If you get stuck on a detail, read the man pages of the command you're using (man pages confuse you? try tldr or cheat). Then google it, there's a shitton of SO Q&A on bash. If you can't find it, find a bash channel on irc or discord and ask (they'll expect you've read the FAQ though). Keep notes. I wrote a script to read and edit notes for bash, in bash, and it taught me new things!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts