-
Book Overview & Buying
-
Table Of Contents
Complete Bash Shell Scripting
By :
Complete Bash Shell Scripting
By:
Overview of this book
Many organizations favor Bash scripts for executing shell commands, running and customizing administrative tasks, automating repetitive tasks, and performing many more Linux and Unix functions. Having Bash scripting skills will make you stand out from your peers and help you advance in your automation career. With this course, you will learn Bash shell scripting in detail and understand how to apply the acquired skills confidently in the real world.
Starting with an introduction to Bash shell scripting, the course takes you through the process of installing Ubuntu on Windows 10. You will also learn to install Docker on a Ubuntu server and understand the basic steps to write and execute shell scripts. Once you have become familiar with redirection operators and explored commands such as grep, cut, awk, tr, and tee, you will write a simple script to get to grips with using the echo command, variables, strings, comments, and debugging.
The course also covers input and output commands, arithmetic operators, conditional statements, arrays, and loops, and demonstrates how to schedule jobs. You will work with remote servers, functions, the printf command, and the sed command and discover what awk scripting is. Finally, you will put your knowledge to practice by designing a simple digital clock and automating multiple server inventory using shell scripts.
By the end of this course, you will have become well-versed in Bash shell scripting and developed the skills to automate repetitive tasks.
All the codes and supporting files for this course are available at: https://github.com/PacktPublishing/Complete-Bash-Shell-Scripting-
Table of Contents (23 chapters)
Introduction
Redirection Operators
Commands to Read the File Content
Grep Command
Cut Command
Simple Useful Commands for Shell Scripting
Basics of Shell Scripting
String Operations to Write Bash Shell Scripting
Input and Output Commands for Bash Shell Scripting
Arithmetic Operators
Test Command, Commands Chaining, and Conditional Statements
Conditional Statements - Simple If, If-else, If-elif-else
Scheduling Jobs with at and crontab
Arrays of Bash Shell Scripting
Loops and Loop Control Statements - Part 1
Working with Remote Servers
Loops and Loop Control Statements - Part 2
Linux Functions
Complete Printf Command
Awk Command and Awk Scripting
Complete Sed Command
Real-Time Practice (Low Level to High Level)