New content added weeklyLive
Master Bash Scripting with Adaptive AI.
Master Bash Scripting across 18 topics - Foundations, Intermediate, and Advanced - guided by Leyaa's adaptive intelligence.
3Parts
18Topics
147Patterns
35hEst. duration
Bash Scripting Course
3 - part learning journey
Foundations
6 topics · 52 patterns
Intermediate
6 topics · 49 patterns
Advanced
6 topics · 46 patterns
✦ Course Structure
Your Bash Scripting Journey in 3 Parts
Each part builds on the last - a deliberate progression from beginner to advanced.
Part 1: Foundations
Covers Bash Scripting Basics, Variables, User Input and 3 more topics.
6Topics
52Patterns
View topics
Part 2: Intermediate
Covers Functions, String Operations, Arrays and 3 more topics.
6Topics
49Patterns
View topics
Part 3: Advanced
Covers Process and Job Control, Regular Expressions in Bash, Advanced Scripting Patterns and 3 more topics.
6Topics
46Patterns
View topics
Curriculum
Everything You'll Learn
Explore every topic and pattern in the course.

Bash Scripting
3 parts · 18 topics · 147 patterns100% freeEvery pattern is free. Create a free account to start, and Leyaa tracks what you actually know.
Part 1: Foundations6 topics · 52 patterns
Beginner01
Bash Scripting Basics
8 patterns
Free
Why Bash scripting automates Linux tasksStart free What a shell script isStart free Bash vs other shells (Zsh, Fish, sh)Start free Creating a script file (.sh)Start free Shebang line (#!/bin/bash)Start free Making scripts executable (chmod +x)Start free Running scriptsStart free First Bash scriptStart free
02
Variables
9 patterns
Free
Why variables store and reuse dataStart free Variable assignment (no spaces around =)Start free Accessing variables ($var and ${var})Start free String variablesStart free Integer variablesStart free Read-only variables (readonly)Start free Unsetting variables (unset)Start free Environment variables vs local variablesStart free Special variables ($0, $1, $#, $@, $?, $$)Start free
03
User Input
8 patterns
Free
Why input makes scripts interactiveStart free read commandStart free Prompting with read -pStart free Silent input with read -s (passwords)Start free Reading into multiple variablesStart free Default values for inputStart free Command-line arguments ($1, $2, ...)Start free Shifting arguments (shift)Start free
04
Quoting and Expansion
8 patterns
Free
Why quoting rules prevent errorsStart free Single quotes (literal strings)Start free Double quotes (variable expansion)Start free Backticks and $() for command substitutionStart free Arithmetic expansion $(( ))Start free Brace expansion ({1..10})Start free Tilde expansion (~)Start free Escape characters (\)Start free
05
Conditionals
10 patterns
Free
Why conditionals branch script logicStart free if-then-fi structureStart free if-then-elseStart free if-elif-elseStart free test command and [ ] syntaxStart free [[ ]] extended testStart free String comparisons (=, !=, -z, -n)Start free Integer comparisons (-eq, -ne, -gt, -lt, -ge, -le)Start free File test operators (-f, -d, -e, -r, -w, -x)Start free Logical operators (-a, -o, !)Start free
06
Loops
9 patterns
Free
Part 2: Intermediate6 topics · 49 patterns
Intermediate01
Functions
8 patterns
Free
Why functions organize reusable codeStart free Function definitionStart free Calling functionsStart free Function arguments ($1, $2 inside function)Start free Return values (return and echo)Start free Local variables (local keyword)Start free Function libraries (sourcing scripts)Start free Recursive functionsStart free
02
String Operations
8 patterns
Free
Why string manipulation is frequentStart free String length (${#var})Start free Substring extraction (${var:offset:length})Start free String replacement (${var/old/new})Start free String prefix removal (${var#pattern})Start free String suffix removal (${var%pattern})Start free Default values (${var:-default})Start free Uppercase and lowercase conversionStart free
03
Arrays
8 patterns
Free
04
Text Processing in Scripts
9 patterns
Free
Why scripts often process textStart free grep in scriptsStart free sed for substitution in scriptsStart free awk field extraction in scriptsStart free cut and pasteStart free sort and uniq in pipelinesStart free tr for character transformationStart free Here documents (<<EOF)Start free Here strings (<<<)Start free
05
File Operations in Scripts
8 patterns
Free
Why file I/O is core to scriptingStart free Reading files line by line (while read)Start free Writing to files (echo, printf)Start free Appending to files (>>)Start free File existence checksStart free Temporary files (mktemp)Start free File descriptors and redirectionStart free Processing CSV filesStart free
06
Error Handling
8 patterns
Free
Part 3: Advanced6 topics · 46 patterns
Advanced01
Process and Job Control
7 patterns
Free
02
Regular Expressions in Bash
8 patterns
Free
03
Advanced Scripting Patterns
8 patterns
Free
04
System Administration Scripts
7 patterns
Free
05
Networking Scripts
7 patterns
Free
06
Debugging and Best Practices
9 patterns
Free
Why debugging saves hoursStart free set -x for trace modeStart free Debugging with PS4Start free ShellCheck for static analysisStart free Script testing strategiesStart free Portable scripting (POSIX compliance)Start free Style guide and conventionsStart free Documentation with commentsStart free Script security best practicesStart free
Not just a course. A learning intelligence.
Leyaa doesn't just deliver content - it understands where you are, what you need, and how to get you there fastest.
Adaptive Diagnostics
Leyaa identifies which of the 147 patterns you've mastered and which need work - before you waste time on what you already know.
Pattern-Level Precision
Every pattern gets a verdict - Learn, Practice, or Skip - so your study time goes exactly where it counts.
Intelligent Pacing
Leyaa reads your velocity across the whole course and adapts your focus list dynamically, keeping you in the optimal learning zone.
Before & After Visibility
Every assessment creates a snapshot. Retake anytime to see exactly how much you've grown - topic by topic, pattern by pattern.
Learner Autonomy
Leyaa recommends, never restricts. Override any suggestion and explore at your own pace - the system tracks everything regardless.
Clear Learning Path
Foundations → Intermediate → Advanced - a structured journey where each part sets you up perfectly for the next.
Bash Scripting
Ready to master Bash Scripting?
Start your journey today
Start your diagnostic now. Build mastery across all 18 topics in under 15 minutes.
18 Topics
147 Patterns
Personalized roadmap













