![Complete Bash Shell Scripting [Video]](https://content.packt.com/V16287/cover_image_small.jpg)
Complete Bash Shell Scripting [Video]
Subscription
FREE
Video + Subscription
$29.99
Video
$54.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
Subscription
FREE
Video + Subscription
$29.99
Video
$54.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
-
Free ChapterIntroduction
- Introduction to the Course
- Required Documents for This Course
- Environmental Setup to Practice Bash Shell Scripting
- Installing Ubuntu on Windows 10
- Basic Steps to Write and Execute a Shell Script
- List of General-Purpose Commands to Understand the Usage of a Command
- Configuring Gmail on an Ubuntu Server
- Docker Installation on an Ubuntu Server Using Bash Shell Script
-
Redirection Operators
-
Commands to Read the File Content
-
Grep Command
-
Cut Command
-
Awk Command
-
Simple Useful Commands for Shell Scripting
-
Basics of Shell Scripting
- First Simple "Hello World" Script Using the Echo Command
- Introduction to Variables
- Simple Shell Script to Know the Usage of Variables in Bash Shell Scripting
- Advanced Usage of the Echo Command
- Here Document for Multi-Lines or Multi-Line Block
- Using the Here Strings
- Writing Comments for a Shell Script
- What Is #!/usr/bin/env bash?
- Debugging a Bash Shell Script
- Exit Status of a Command
-
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
- Simple If and If-else Conditional Statement
- Simple Shell Script to Verify if the User Is Root and if the User Has 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-else Conditional Statement
- How to Handle the Command Line Arguments
-
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
- 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 the Awk Command/Script in Shell Scripts
- How to Read Variables for the Awk Command Using a Shell Script
-
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 the Sed Command
- Insertion and Deletion with the Sed Command
- Regex: Introduction to the 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
-
Real-Time Practice (Low Level to High Level)
About this video
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-
- Publication date:
- April 2020
- Publisher
- Packt
- Duration
- 18 hours 23 minutes
- ISBN
- 9781800209695