DEV Community

loading...
Cover image for Open-Source Introduction to Bash Scripting Ebook/Guide

Open-Source Introduction to Bash Scripting Ebook/Guide

bobbyiliev profile image Bobby Iliev Originally published at devdojo.com ・4 min read

πŸ’‘ Introduction to Bash Scripting Ebook/Guide

I have just released an open-source introduction to Bash scripting ebook/guide 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:

Or you could visit find the project on GitHub here:

πŸ“˜ 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
  • Wrap Up

🌟 Sponsors

This book is made possible thanks to these fantastic companies!

πŸ’™ 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.

Join DevDojo

For more information, please visit https://www.devdojo.com or follow @thedevdojo on Twitter.

πŸ‘‹ 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.

πŸ”₯ 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

🀲 Contributing

If you are contributing 🍿 please read the contributing file before submitting your pull requests.

πŸŽ‰ Conclusion

If you found this useful, be sure to star the project on GitHub!

If you have any suggestions for improvements, make sure to contribute pull requests or open issues.

With this introduction to Bash scripting ebook, you will learn the basics of Bash scripting, and you will have enough under your belt to start wringing some awesome scripts and automating daily tasks!

I hope that this helps!

Discussion (4)

Collapse
mccurcio profile image
Matt Curcio • Edited

Bravo! You have done what I have been wanting to do. Alas, I am too much of a perfectionist... ;))

Question:

I saw you 'compiled' your book with Ibis. How did you like working with it. Would you recommend it? How was the learning curve?

I have experimented with Gitbook and Bookdown (Since I use R a lot!) but the learning curve (or non-intuitive approach) puts me off.

Collapse
bobbyiliev profile image
Bobby Iliev Author

Hi there Matt πŸ‘‹

Thanks for the feedback! Writing an eBook has been on my list for a very long time, probably if it was not for Ibis I would have not done it.

Ibis is great if you are used to Markdown in general. I would say that it is very straightforward to get started with it and it is definitely worth it as you can keep your drafts in Git/GitHub.

I will probably record a quick video on how to use Ibis!

Btw, I've built a small website to showcase the eBook and added an interactive Bash training using Katacoda submitted it for the DigitalOcean & DEV hackathon, you can check it out here:

dev.to/bobbyiliev/introduction-to-...

Collapse
bobbyiliev profile image
Bobby Iliev Author

This is the very first ebook that I've written and I am the only person who has reviewed it, so any feedback would be highly appreciated! πŸ™Œ

Collapse
harvierees profile image
Harvie Rees

The book is super easy to read. I really enjoyed it. Well done!

Forem Open with the Forem app