Course Overview

This course is designed to make you an expert in bash shell scripting to automate repetitive tasks. Most organizations are moving into Linux and Unix operating systems as they are generally open-source. Additionally, Linux and Unix skills gained by developers would make them more in demand.

This course covers command-line commands and Bash shell scripting from a developer perspective to make you a comprehensive developer expert in Linux\Unix OS.

The course will comprehensively cover shell scripting from basic to advanced levels. It will introduce the shebang line, its importance in every shell script, and how to create and use variables. Topics such as testing and decision-making, command-line arguments, input and output, and conditional statements will be explored in detail. Students will learn about exit statuses and how to use filters like grep, awk, cut, and sed. The course will explore functions, wildcards, loops, and case statements. Additionally, it will cover logging, debugging tips, and Bash shell options. Practical skills will be enhanced by working with remote servers, with hands-on practice for each topic to ensure thorough understanding and application.

By the end of this course, you will gain expertise in bash shell scripting and be able to automate repetitive tasks.

The necessary resources for this course are in the "Resources" section of Video 1.1. You can also access them through this direct link - https://github.com/ec-council-learning/Complete-Bash-Shell-Scripting

What You Will Learn

  • You will be able to understand shell scripting concepts
  • You will be able to understand unix filters like awk
  • cut
  • and sed
  • This course is helpful to Automate repetitive tasks in different Admin areas like Linux Admins
  • Middleware Admins
  • Database Admins
  • DevOps Admin and AWS Cloud Admins
  • This course is helpful to write basic to advance level shell scripts

Program Curriculum

  • Environment 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 and Help to Understand About the Usage of a com
  • Configuring Gmail Setup on Ubuntu Server
  • Docker Installation on Ubuntu Server using Bash Shell Script
  • $7 Million Cybersecurity Scholarship by EC-Council
  • Chapter 1 Quiz

  • Redirection Operators and STDIN, STDOUT & STDERR
  • Chapter 2 Quiz

  • Commands to Read a File Content
  • Commands to Read a File Content with Conditions
  • How to Display or Print Range of Lines?
  • Chapter 3 Quiz

  • Basic Usage of Grep Command
  • Advanced Usage of Grep Command
  • Simple Practice with Grep Command
  • Chapter 4 Quiz

  • Complete Cut Command in One Video
  • Chapter 5 Quiz

  • Basics of AWK Command to Write Simple Shell Scripts
  • Chapter 6 Quiz

  • tr Command
  • tee Command
  • Chapter 7 Quiz

First HelloWorld Bash Shell Script

  • Simple Usage of echo Command
  • Introduction to Variables
  • Simple Shell Script to Know the Usage of Variables in Bash Shell Scripting
  • Advanced Usage of echo Command
  • Here Document for Multi-lines or Multi-line Block
  • Here String Usage
  • Writing Comments for a Shell Script
  • What is #!/usr/bin/env Bash?
  • Debugging a Bash Shell Script
  • Exit Status of a Command
  • Chapter 8 Quiz

  • Basic String Operations
  • String Operations on Paths

  • Useful for Real-time
  • Chapter 9 Quiz

  • Input with Read Command and Output with echo Command
  • Input with Command Line Arguments
  • Chapter 10 Quiz

  • Arithmetic Operations
  • Simple Usage of Case Statement
  • Chapter 11 Quiz

Test Command and its Usage

  • Comparison and File Test Operators
  • Command Chaining using Logical and Logical OR Operators
  • Executing Block of Code using {}
  • Chapter 12 Quiz

  • Simple if and if-else Conditional Statement
  • 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 Command Line Arguments?
  • Chapter 13 Quiz

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 14 Quiz

  • Introduction to Arrays
  • Associative Arrays
  • Chapter 15 Quiz

  • 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 16 Quiz

  • Login into Remote Server from 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 17 Quiz

  • Basic Syntaxes of While Loop
  • While Loop with IFS
  • Chapter 18 Quiz

  • 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 19 Quiz

  • Complete printf Command
  • Chapter 20 Quiz

  • 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 Command Line
  • How to Use AWK Command/Script in Shell Scripts?
  • How to Read Variables for AWK Command using Shell Script?
  • Chapter 21 Quiz
Load more modules

Instructor

Narendra P

Narendra is an IT Professional with 7+ years of experience in different Domains. Very much interested in learning new technologies and teaching. He believes that the best way to learn by doing it in a fun way. He has good practical knowledge of automation with different Scripting languages like Shell Scripting, Python Scripting, and YAML Scripting. His online classes focus on providing high-quality documentation with practical knowledge. Hands-on experience in learning new technology that makes learning really interesting.

Join over 1 Million professionals from the most renowned Companies in the world!

certificate

Empower Your Learning with Our Flexible Plans

Invest in your future with our flexible subscription plans. Whether you're just starting out or looking to enhance your expertise, there's a plan tailored to meet your needs. Gain access to in-demand skills and courses for your continuous learning needs.

Monthly Plans
Annual Plans
Save 20% with our annual plans!

Pro

Ideal for continuous learning, offering extensive resources with 600+ courses and diverse Learning Paths to enhance your skills.

$ 499.00
Billed annually or $59.00 billed monthly

What is included

  • 700+ Premium Short Courses
  • 50+ Structured Learning Paths
  • Validation of Completion with all courses and learning paths
  • New Courses added every month
Early Access Offer

Pro +

Experience immersive learning with Practice Labs, CTF Challenges, and exclusive EC-Council certifications for comprehensive skill-building.

$ 599.00
Billed annually or $69.00 billed monthly

Everything in Pro and

  • 800+ Practice Lab exercises with guided instructions
  • 150+ CTF Challenges with detailed walkthroughs
  • New Practice Labs and Challenges added every month
  • 3 Official EC-Council Essentials Certifications¹ (retails at $897!)
    Exclusive Bonus with Annual Plans

¹This plan includes Digital Forensics Essentials (DFE), Ethical Hacking Essentials (EHE), and Network Defense Essentials (NDE) certifications. No other EC-Council certifications are included.

Related Courses

1 of 8