Learn Linux Shell Scripting – Fundamentals of Shell 4.4: A comprehensive guide to automation with the Bash shell

Create and maintain powerful BASH scripts for automation and administrationKey FeaturesGet up and running with Linux Shell scripting using real-world examples.Leverage command-line techniques and methodologies to automate common yet complex administration tasks.A practical guide with exposure to scripting constructs and common scripting patterns.Book DescriptionShell scripts allow us to program commands in chains and have the system execute them as a scripted event, just like batch files. They also allow for far more useful functions, such as command substitution.This book will start with an overview of Linux and Bash shell scripting, and then quickly deep dive into helping you setup your local environment and you will be introduced to tools which are used to write shell scripts. The next set of chapters will focus on helping you understand Linux ‘under-the-hood’, what Bash provides the user, and you will have started your journey on the command-line. You will now begin writing actual scripts instead of commands, and will be introduced to practical applications for scripts. The last set of chapters will deep dive into the more advanced topics in shell scripting. These advanced topics will take you from simple scripts to reusable, valuable in the real world programs. The final chapter will leave you with some handy tips and tricks and for the most used commands, a cheat sheet with the most interesting flags and options will also be given.After completing the book, you should feel confident about starting your own shell scripting projects, no matter how simple or complex the task previously seemed.What you will learnUnderstanding Linux basicsUnderstanding Bash basicsUnderstanding shell scripting fundamentalsLearn to write simple shell scripts which interact with Linux processesHow to build, maintain and deploy scripts in a Linux environmentLearn best practices for writing shell scriptsAvoiding common pitfalls associated with Bash scriptingHaving enough experience and the right toolset to write their own (complex) shell scriptsWho This Book Is ForIf you are a junior Linux system administrator, Windows system administrator or developer who is interested in automating tasks, then this book is for you. No prior shell scripting experience is needed but in case you do this book will make a pro quickly. Readers should have a basic understanding of the command line.About the AuthorSebastiaan Tammer is a Linux enthusiast from The Netherlands. After attaining his BSc in Information Sciences, he graduated with a MSc in Business Informatics, both from Utrecht University. His professional career started in Java development, before he pivoted into a Linux opportunity. Because of this dual background, he feels most at home in a DevOps environment.Besides working extensively with a number of technologies such as Puppet, Chef, Docker and Kubernetes, Sebastiaan has also attained the Red Hat Certified Engineer (RHCE) and Offensive Security Certified Professional (OSCP) certificates. But most importantly, he spends a lot of time in and around his terminal of choice: Bash. Whether it is creating complex scripting solutions or just automating simple tasks, there is hardly anything he hasn’t done with Bash!

Author: Sebastiaan Tammer

Learn more

Deals