Manage system administrator tasks with ease by mastering Bash shell scripting techniques
About This Video
Get a solid understanding of Bash shell scripting concepts
Learn how to write flawless shell scripts using basic and advanced commands in Ubuntu
Get ready to automate repetitive tasks in Linux, Middleware, Database, DevOps, and AWS cloud admin areas
In Detail
Many organizations favor Bash scripts for executing shell commands, running and …
Complete Bash Shell Scripting
Video description
Manage system administrator tasks with ease by mastering Bash shell scripting techniques
About This Video
Get a solid understanding of Bash shell scripting concepts
Learn how to write flawless shell scripts using basic and advanced commands in Ubuntu
Get ready to automate repetitive tasks in Linux, Middleware, Database, DevOps, and AWS cloud admin areas
In Detail
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 will help you to advance in your automation career. With this course, you’ll 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’ll also learn to install Docker on an Ubuntu Server and understand the basic steps to write and execute shell scripts. Once you’ve become familiar with redirection operators and explored commands such as grep, cut, awk, tr, and tee, you’ll 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’ll work with remote servers, functions, the printf command, and the sed command and discover what awk scripting is. Finally, you’ll 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’ll have become well-versed in Bash shell scripting and developed the skills to automate repetitive tasks.
Who this book is for
Whether you are a beginner or an advanced-level automation engineer, or a Linux administrator looking to explore Bash shell scripting, this course is for you. A basic understanding of Unix or Linux commands is necessary to get started with this course.
Simple Shell Script to verify the user is root or not and User is having sudo
Shell Script to start docker service
Logical AND OR and NOT operators - ( , || and ! )
Differences between [ ] and [[ ]] ( old and new test command) and also (( ))
if elif elif else conditional statement
How to handle the command line arguments
Chapter 14 : Scheduling jobs with at and crontab
One-time task execution with at | scheduling job with at command to execute once
Scheduling jobs with crontab
Shell Script to send Automatic Mail Alert when RAM Memory gets Low
Shell Script to monitor File System Utilization with mail alerts
Chapter 15 : Arrays of bash shell scripting
Introduction to Arrays
Associative Arrays
Chapter 16 : Loops and Loop control statements - Part 1
Introduction to Loops
Different types of For loop syntax’s
Installing multiple packages with for loop and command line arguments
Difference between $@ and $*
Loop Control commands / statements
For loop with arrays
Chapter 17 : Working with remote servers
Login into remote server from the local server using ssh
Executing commands on remote server without logging into remote server
Providing password for ssh using sshpass utility
Executing multiple commands on multiple servers
Shell Script to execute different commands on different servers
Chapter 18 : Loops and loop control statements - Part 2
Basic syntaxes of while loop
while loop with IFS
Chapter 19 : Functions
Simple Introduction to Functions
Defining a Function and Calling a Function
Scope of the Variables (Global and Local Variables), Returning a variable value
Passing Parameters to a Function
Chapter 20 : Complete printf command
Complete printf command
Chapter 21 : AWK command and AWK scripting
Introduction to AWK
awk command with action and basic variables
Introduction to AWK scripting
awk command with options, action and basic variables
Simple Hello World awk script
How to define a variable, display a variable, and execute multiple statements
awk command or awk script: Reading variable values from the command line
How to use awk command / script in shell scripts
How to read variables for awk command using shell script
Chapter 22 : Complete sed command
Introduction to the sed command
sed: Viewing file content and deleting file content based on line numbers
Searching file content
Find and replace with sed command
Insertion and Deletion with sed command
Regex: Introduction to sed command with regex
Regex - Part 1 - Regex with special characters (\s \t . *+ ? and )
Regex - Part 2 - Regex with special characters (^ and $)
Regex-Part-3: Regex with special characters ( [] () and {} )
Simple shell script to get all git versions from official git-scm website
Chapter 23 : Real-Time Practice (Low level to High level)
Design a simple digital clock
Automate Server Inventory using Shell Script
Automate Multiple Servers Inventory using Shell Script
Monitor File system usage and send mail alerts
Automate the installation of required git version using bash shell script
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept