Awesome
<p align="center"><img src="https://imgur.com/eXCcDPp.png" height="450" width="auto"></p> <div align="center"> <p> <a name="stars"><img src="https://img.shields.io/github/stars/bobbyiliev/introduction-to-bash-scripting?style=for-the-badge"></a> <a name="forks"><img src="https://img.shields.io/github/forks/bobbyiliev/introduction-to-bash-scripting?logoColor=green&style=for-the-badge"></a> <a name="contributions"><img src="https://img.shields.io/github/contributors/bobbyiliev/introduction-to-bash-scripting?logoColor=green&style=for-the-badge"></a> <a name="madeWith"><img src="https://img.shields.io/badge/Made%20with-Markdown-1f425f.svg?style=for-the-badge"></a> <a name="license"><img src="https://img.shields.io/github/license/bobbyiliev/introduction-to-bash-scripting?style=for-the-badge"></a> </p> </div>π‘ Introduction to Bash Scripting
This is an open-source introduction to Bash scripting guide/ebook that will help you learn the basics of Bash scripting and start writing awesome Bash scripts that will help you automate your daily SysOps, DevOps, and Dev tasks. No matter if you are a DevOps/SysOps engineer, developer, or just a Linux enthusiast, you can use Bash scripts to combine different Linux commands and automate boring and repetitive daily tasks, so that you can focus on more productive and fun things.
The guide is suitable for anyone working as a developer, system administrator, or a DevOps engineer and wants to learn the basics of Bash scripting.
π Download
To download a copy of the ebook use one of the following links:
π Chapters
The first 13 chapters would be purely focused on getting some solid Bash scripting foundations then the rest of the chapters would give you some real life examples and scripts.
- About the book
- Introduction to Bash scripting
- Bash Structure
- Bash Hello World
- Bash Variables
- Bash User Input
- Bash Comments
- Bash Arguments
- Bash Arrays
- Bash Conditional Expressions
- Bash Conditionals
- Bash Loops
- Bash Functions
- Debugging, testing and shortcuts
- Creating custom bash commands
- Write your first Bash script
- Creating an interactive menu in Bash
- Executing BASH scripts on Multiple Remote Servers
- Work with JSON in BASH using jq
- Working with Cloudflare API with Bash
- BASH Script parser to Summarize Your NGINX and Apache Access Logs
- Sending emails with Bash and SSMTP
- Bash Password Generator
- Redirection in Bash
- Wrap Up
π Sponsors
This book is made possible thanks to these fantastic companies!
π Materialize
The Streaming Database for Real-time Analytics.
Materialize is a reactive database that delivers incremental view updates. Materialize helps developers easily build with streaming data using standard SQL.
π DigitalOcean
DigitalOcean is a cloud services platform delivering the simplicity developers love and businesses trust to run production applications at scale.
It provides highly available, secure, and scalable compute, storage, and networking solutions that help developers build great software faster.
Founded in 2012 with offices in New York and Cambridge, MA, DigitalOcean offers transparent and affordable pricing, an elegant user interface, and one of the largest libraries of open source resources available.
For more information, please visit https://www.digitalocean.com or follow @digitalocean on Twitter.
If you are new to DigitalOcean, you can get a free $100 credit and spin up your own servers via this referral link here:
Free $100 Credit For DigitalOcean
π©βπ» DevDojo
The DevDojo is a resource to learn all things web development and web design. Learn on your lunch break or wake up and enjoy a cup of coffee with us to learn something new.
Join this developer community, and we can all learn together, build together, and grow together.
For more information, please visit https://www.devdojo.com or follow @thedevdojo on Twitter.
πΈοΈ Web Page
A web page showcasing the eBook:
Introduction to Bash Scripting Web Page
The web page was built using Tails, a new kick-ass
drag-and-drop TailwindCSS page builder!
DigitalOcean App Platform
The website is hosted on the DigitalOcean App Platform.
We utilize the "Deploy to DigitalOcean" Button to deploy to the App Platform:
πΉ Mini Video Course
If you prefer watching videos rather than reading, you can find a quick crash course based on the first 12 chapters of the eBook here:
Introduction to Bash Scripting Mini Video Crash Course
π About the author
My name is Bobby Iliev, and I have been working as a Linux DevOps Engineer since 2014. I am an avid Linux lover and supporter of the open-source movement philosophy. I am always doing that which I cannot do in order that I may learn how to do it, and I believe in sharing knowledge.
I think it's essential always to keep professional and surround yourself with good people, work hard, and be nice to everyone. You have to perform at a consistently higher level than others. That's the mark of a true professional.
For more information, please visit my blog at https://bobbyiliev.com, follow me on Twitter @bobbyiliev_ and YouTube.
In case that you want to support me you can Buy Me a Coffee here:
<a href="https://www.buymeacoffee.com/bobbyiliev" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
π₯ PDF Generation Tool
The project uses Ibis developed by Mohamed Said.
Ibis is a PHP tool that helps you write eBooks in markdown.
π¨ Book Cover
The cover for this ebook was created with Canva.com.
If you ever need to create a graphic, poster, invitation, logo, presentation β or anything that looks good β give Canva a go.
π Links
π Other eBooks
- Introduction to Docker
- Introduction to Git and GitHub
- Introduction to SQL
- Laravel tips and tricks
- Introduction to Terraform
- Introduction to Linux
π€² Contributing
If you are contributing πΏ please read the contributing file before submitting your pull requests.