Topic archive
Bash
Learn Bash scripting through practical examples covering loops, arrays, functions, conditionals, files, HTTP requests, and automation.
8 articles
Start here

All Types of Loops in Bash: A Comprehensive Guide
Master looping in Bash scripting and conquer any repetitive task! This comprehensive guide covers all loop types, from for and while to until and case, with clear explanations and practical examples.
Read articleAll Bash articles
Bash Arrays by Examples: A Beginner's Guide
Arrays in Bash can store strings, numbers, or a combination of both. They provide a convenient way to group related data together and manipulate it as a whole.
Read moreBash For Loop Made Easy: A Step-by-Step Guide with Examples
Bash For Loop: A Comprehensive Guide Code Examples. With its clear explanations, helpful examples, and comprehensive coverage, this guide is the perfect resource for anyone looking to master the art of Bash for loops.
Read moreBash Functions: A Deeper Dive
Take your shell scripting skills to the next level with this in-depth guide to Bash functions. Learn about variables and scopes, sub-shells, redirection, recursion, argument references, and return values.
Read moreBash if-else Statement by Examples: A Beginner's Guide
Take control of program flow in Bash scripting with the powerful if-else statement! This comprehensive guide dives deep into its syntax, logic, and usage, with clear explanations and practical examples. Unlock the potential of conditional logic and elevate your scripting skills to the next level.
Read moreReading a file line by line in Bash
Learn how to read a file line by line in Bash. This guide explores various methods, provides easy code examples and real-world examples.
Read moreHow to Send HTTP Requests with Bash Scripting: A Comprehensive Guide
Learn how to craft and execute HTTP requests directly from your Bash scripts, with detailed explanations, code examples, and best practices for various scenarios.
Read moreBuilding a Bash Web Server from Scratch
Build a minimal Bash web server from scratch. Learn HTTP, sockets, and avoid common pitfalls with easy code examples.
Read more