Bash Scripting for Beginners
📊 Overall Study Progress
🐚 Bash Shell Fundamentals
Understand the Bash shell environment, command-line basics, and how to create your first script
-
Bash Scripting Tutorial - FreeCodeCamp: Comprehensive tutorial covering bash fundamentals, what bash scripting is, advantages of shell scripting, and how to create your first script Learn more📝 Notes
-
The Bash Guide - Chapter 1: Inception: Learn bash basics, installation, and shell concepts from this quality-driven guide with exercises Learn more📝 Notes
-
Introduction to Bash - Microsoft Learn: Interactive training on using Bash to manage IT infrastructure, covering important commands like ls, cat, and ps Learn more📝 Notes
-
Ryan's Bash Tutorial - What is a Bash Script: Beginner-friendly tutorial explaining what bash scripts are and how to write your first script with practical examples Learn more📝 Notes
📦 Variables and Data Types
Learn how to declare, assign, and manipulate variables in bash scripts
-
Variables in Bash - Ryan's Tutorials: Learn variable declaration, naming conventions, and how to use variables effectively in your scripts Learn more📝 Notes
-
Bash Variables and Data Types - Medium: Understand how to store and manipulate data with variables, including string operations and numeric variables Learn more📝 Notes
-
Bash Variables - W3Schools: Interactive examples of variable usage in bash scripting with practice exercises Learn more📝 Notes
-
The Bash Guide - Variables and Expansions: Deep dive into variable expansions, parameter expansions, and data manipulation techniques Learn more📝 Notes
⚡ Input, Output, and Redirection
Master input/output operations, redirection operators, and piping commands
-
Input Output Redirection in Linux - GeeksforGeeks: Learn how to redirect input and output to files, use pipes, and work with standard streams (stdin, stdout, stderr) Learn more📝 Notes
-
Five Ways to Use Redirect Operators - Red Hat: Practical examples of using >, >>, <, |, and other redirection operators in bash Learn more📝 Notes
-
Bash Input and User Interaction - Ryan's Tutorials: Learn how to accept user input, read from files, and handle command-line arguments Learn more📝 Notes
-
GNU Bash Manual - Redirections: Official documentation on bash redirection with comprehensive syntax and examples Learn more📝 Notes
🔀 Conditional Statements
Write decision-making logic using if/elif/else statements and case constructs
-
If Statements - Ryan's Tutorials: Learn if statements, else, elif, and case statements with sample scripts and challenges Learn more📝 Notes
-
Bash Conditionals - The Bash Guide: Understand test constructs, conditional execution, and logical operators in bash Learn more📝 Notes
-
Conditional Statements Tutorial - LinuxConfig: Step-by-step guide to writing conditional logic with practical examples Learn more📝 Notes
-
Test Command and Comparisons - Baeldung: Learn comparison operators for strings, numbers, and files in bash conditionals Learn more📝 Notes
🔁 Loops and Iteration
Implement repetitive tasks using for, while, and until loops
-
Bash Loops - Ryan's Tutorials: Master while loops, until loops, and for loops with plenty of sample code and examples Learn more📝 Notes
-
Bash For Loop Examples - nixCraft: Practical examples of for loops for iterating over files, arrays, and ranges Learn more📝 Notes
-
While Loop Examples - nixCraft: Learn while loops with real-world examples of reading files and processing data Learn more📝 Notes
-
Bash Loops - W3Schools: Interactive examples of for, while, and until loops with syntax explanations Learn more📝 Notes
🧩 Functions and Code Reuse
Create reusable functions with parameters and return values
-
Functions - Ryan's Tutorials: Learn how to define functions, pass parameters, and return values for code reusability Learn more📝 Notes
-
Bash Function Parameters - LinuxSimply: Comprehensive guide to passing parameters to bash functions with 6 practical examples Learn more📝 Notes
-
Bash Functions - GeeksforGeeks: Understanding function declaration, local variables, and best practices for functions Learn more📝 Notes
-
Function Best Practices - BashStyle Guide: Learn best practices for writing clean, maintainable bash functions with proper error handling Learn more📝 Notes
📊 Arrays and Data Structures
Work with indexed and associative arrays for complex data manipulation
-
Introduction to Bash Arrays - Baeldung: Learn indexed and associative arrays, how to declare, access, and manipulate array elements Learn more📝 Notes
-
Bash Arrays Tutorial - Linuxize: Comprehensive guide to working with bash arrays including looping, sorting, and searching Learn more📝 Notes
-
You Don't Know Bash: Arrays - Opensource.com: Deep dive into bash array features you might not know about with practical examples Learn more📝 Notes
-
Bash Associative Arrays - PhoenixNAP: Learn how to use associative arrays (hash maps) in bash scripts with examples Learn more📝 Notes
📝 Text Processing with Grep, Sed, and Awk
Master text processing tools for searching, replacing, and manipulating data
-
Text Processing with Grep, Sed, and Awk - Vultr: Learn to use grep for searching, sed for stream editing, and awk for data extraction Learn more📝 Notes
-
Differences Between Grep, Sed, and Awk - Baeldung: Understand when to use each tool and how to combine them in pipelines Learn more📝 Notes
-
Advanced Text Processing - LabEx: Advanced techniques for text processing with regular expressions and pattern matching Learn more📝 Notes
-
Ultimate Guide to Text Processing - DEV Community: Comprehensive guide to text processing tools including grep, awk, sed, and jq Learn more📝 Notes
🔍 Regular Expressions and Pattern Matching
Use regular expressions for powerful pattern matching in bash scripts
-
Bash Regex Tutorial for Beginners - Zero To Mastery: Master the 5 core building blocks of bash regex with practical examples Learn more📝 Notes
-
Bash Regex Matching - LabEx: Learn character classes, quantifiers, capturing groups, and BASH_REMATCH array Learn more📝 Notes
-
Regular Expressions in Bash - UC Berkeley: Comprehensive tutorial on using regex in bash with sed, awk, and grep Learn more📝 Notes
-
Bash Regex: How to Use in Shell Scripts - KodeKloud: Practical guide to implementing regex in shell scripts with the =~ operator Learn more📝 Notes
🐛 Error Handling and Debugging
Implement robust error handling and debug scripts effectively
-
Error Handling and Debugging - Medium: Learn exit codes, error handling techniques, and debugging with set -x and trap commands Learn more📝 Notes
-
Bash Error Handling - LinuxSimply: Comprehensive guide to error handling, exit codes, and the set -e option Learn more📝 Notes
-
Exit Codes Demystified - Red Hat: Understand bash exit codes and how to use them for proper error handling Learn more📝 Notes
-
Try-Catch in Bash - LinuxConfig: Implement try-catch style error handling in bash scripts Learn more📝 Notes
🤖 Real-World Automation and Scripts
Build practical automation scripts for real-world tasks and workflows
-
Automating Tasks With Bash Scripts - Linux Handbook: Practical examples of automating system tasks, backups, and user management Learn more📝 Notes
-
100+ Automation Scripts - GitHub (djeada): Collection of 100+ bash scripts for automating routine tasks and streamlining workflows Learn more📝 Notes
-
25 Common Bash Script Examples - Hostinger: 25 useful bash script examples to get started with automation Learn more📝 Notes
-
Shell Scripts for Automation - GitHub (meet59patel): Real-world shell scripts to automate boring stuff with practical use cases Learn more📝 Notes
✨ Best Practices and Code Quality
Write clean, maintainable, and secure bash scripts following industry best practices
-
ShellCheck - Script Analysis Tool: Online tool and linter that finds bugs and suggests improvements for your bash scripts Learn more📝 Notes
-
Bash Best Practices - bertvv Cheat Sheet: Comprehensive guide to bash best practices including error handling, quoting, and variable usage Learn more📝 Notes
-
Bash Scripting Best Practices - sap1ens: Learn to use set -eo pipefail, local variables, and proper error handling Learn more📝 Notes
-
Best Practices for Writing Bash Scripts - Chef Expeditor: Industry best practices for writing production-ready bash scripts Learn more📝 Notes