Video description
Bash shell scripting is a programming language to automate tasks and interact with the operating system in Unix/Linux. It allows users to write scripts that execute commands, make decisions based on conditions, and manipulate data. Using variables, loops, and functions, users can create powerful scripts to streamline repetitive tasks, manage system configurations, and improve system automation efficiency.
The course elaborates on Bash shell scripting in Unix/Linux environments. The course covers basic shell script writing to advanced automation techniques. You will learn about environment setup, variable handling, conditional statements, loops, and functions. The course delves into essential Unix filters such as grep, awk, and sed to manipulate data. It covers working with remote servers, interacting with REST APIs, and handling regular expressions. With practical projects and real-world examples, you will gain hands-on experience in automating tasks, enhancing productivity, and becoming proficient in Linux/Unix administration and automation.
Upon completion, you will be skilled in Bash scripting for Unix/Linux environments, automated tasks, managing configurations, and manipulating data effectively. The course covers conditional statements, loops, functions, and practical projects, providing hands-on experience.
What You Will Learn
- Write and execute Bash shell scripts in Unix/Linux environments
- Utilize filters such as grep, awk, and sed for data manipulation
- Apply conditional statements, loops, and functions for decision-making
- Interact with remote servers and REST APIs
- Use regular expressions for text pattern matching
- Practical projects enhance Linux/Unix administration and DevOps skills
Audience
The course is aimed at professionals in Unix/Linux environments to become proficient in Bash shell scripting, suitable for automation engineers, system administrators, DevOps engineers, software developers, database administrators, AWS cloud administrators, and IT professionals with basic knowledge of Linux/Unix commands. Basic knowledge of Linux/Unix commands is required for this course. No experience in Bash shell scripting is necessary, making it suitable for beginners. You should have access to a Unix-like OS (Linux, Unix, macOS) to practice the concepts taught in the course.
About The Author
VRTechnologies: VRTechnologies is a seasoned DevOps automation consultant with a specialization in cloud and DevOps. With a wealth of experience, they have successfully trained over 400 students through comprehensive automation courses covering Shell, Python, and Ansible.
With six years of training expertise, VRTechnologies’ commitment to staying at the forefront of technology trends is unmatched, ensuring that students receive the most up-to-date knowledge. Their passion for learning and teaching drives them to meticulously research and prepare each course, offering hands-on demonstrations from the basics to advanced concepts. Join VRTechnologies on a transformative learning journey and unlock the power of automation in your career.
Table of contents
- Chapter 1 : Introduction
-
Chapter 2 : Environment Setup to Practice with Bash Shell Scripting
- Environment Setup to Practice with Bash Shell Scripting
- Installing Any Linux Distribution And CentOS on Windows with WSL
- Enabling systemctl on WSL CentOS
- Configuring Gmail Setup on CentOS
- Accessing Windows Files from WSL Centos or WSL CentOS Files from Windows
- Basic Steps to Write and Execute a Bash Shell Script
- Different Ways to Execute a Shell Script
- How to Use CentOS Terminal on Visual Studio Code Editor
- chmod Command Won't Work by Default on WSL Linux
- Install Tools Such as Docker, Ansible, Java, nginx, and httpd with a Bash Script
- Chapter 3 : Basic Understanding of Bash Shell Scripting
- Chapter 4 : Variables
-
Chapter 5 : Inputs and Outputs
- Inputs and Outputs for Variables in Bash Shell Scripting
- Echo Command and Basic Usage of the Echo Command
- Practice with Variables and Echo Command
- Link Windows Path to Non-Root User Home of WSL OS
- Echo Command with Options Part-2
- How to Get the Colorful Output from Bash Shell Scripts
- Read Command
- Source Command to Read Inputs for Variables
- Export Command to Provide Inputs for Variables
- Command-Line Arguments to Provide Inputs for Variables of Bash Shell Script
- Shift Command with Command-Line Arguments
- Chapter 6 : String Operations
- Chapter 7 : Arrays
- Chapter 8 : Bash Dictionaries | Bash Associative Arrays
-
Chapter 9 : Basics of Commands
- Exit Status of a Command
- Redirection Operators and STDIN, STDOUT, and STDERR
- How to Execute Any Command with the Help of a Variable?
- How to Use the Cut Command to Get Required Columns/Fields and Characters
- How to Use an awk Command to Get the Required Filed/Column or Line
- Basics of grep Command
- How to Use Variables in grep Command?
- Introduction to sed Command and Usage of Variables
- sed Command with Find and Replace | How to Use Different Delimiters in sed
- sed Command with Inserting and Deletion of Lines Using Line Numbers and Search
- Best Example to Use the tr Command with Cut and Then with kill-9
- Arithmetic Operations for Integers and Floating Point Numbers
-
Chapter 10 : Working with Command-Chaining Operators
- List of Command-Chaining Operators
- Command-Chaining Operator - Pipe
- Command-Chaining Operator - Semicolon
- Command-Chaining Operators - Logical AND and OR
- How to Find the Location or Path of Any Command or Installed Package
- Shell Script to Get the Location of Any Package
- Executing the Block of Code
- Simple Practice
- How to Get the Latest File or Directory from the Current Location
- Chapter 11 : Test Command and Conditional Statements
- Chapter 12 : Shell Scripting Practice
- Chapter 13 : The if, elif, elif else, and Case Statements
- Chapter 14 : Scheduling Jobs
- Chapter 15 : Comments and Logging
- Chapter 16 : Functions
- Chapter 17 : Here Document and Here String
-
Chapter 18 : Loops
- Introduction to Bash Loops with an Example
- For Loop Syntax and Its Usage
- Working with Arrays Using For Loop
- Simple Practice with For Loops
- Send an Automatic Mail Alert When the Secret File Is Deleted
- Break and Continue Statements
- While Loop Part-1
- While Loop Part-2
- Until Loop with Example
- Select Loop and Its Usage with an Example
- Practice for You
- While Loop with getopts Command to Read Arguments
- Chapter 19 : Working with REST APIs Using the Curl Command
-
Chapter 20 : Working with Remote Servers
- Introduction to Work with Remote Servers
- Shell Script to Execute a Command on Remote Hosts Using When They Used SSH Keys
- How to Provide Password for ssh with sshpass? | There Are Three Ways
- Working with SCP to Transfer a File from the Local Server to the Remote Server
- How to Provide a Password for ssh or scp Using Expect Command?
- Chapter 21 : Real-Time Practice
- Chapter 22 : Regular Expressions | Regex
- Chapter 23 : printf Command
Product information
- Title: Learn Bash Shell Scripting for Automation
- Author(s):
- Release date: August 2023
- Publisher(s): Packt Publishing
- ISBN: 9781835080948
You might also like
video
Bash Scripting Fundamentals
4+ Hours of Video Instruction More than 4 hours of video instruction that help you learn …
video
A Complete Course on Linux Bash Shell Scripting with Real-Life Examples
This course is designed for you if you have experience in Linux and want to develop …
video
Mastering Bash Shell Scripting: Automate your daily tasks [Updated for 2021]
Do you want to learn bash shell scripting for automating repetitive tasks, running multiple commands simultaneously, …
video
Complete Bash Shell Scripting
Many organizations favor Bash scripts for executing shell commands, running and customizing administrative tasks, automating repetitive …