
Gain basic knowledge of linux, unix, or macos and their commands, plus familiarity with vi or vim, and practice on CentOS or another linux/unix os to use mailx.
Enable Windows Subsystem for Linux, install Ubuntu from the Microsoft Store, verify with wsl -v, then install CentOS by downloading its image, extracting, and running the installer as administrator.
Learn to run a CentOS terminal inside Visual Studio Code to execute commands and shell scripts via Bash, and manage WSL distributions to use CentOS as the default.
Install Docker, Ansible, Nginx, httpd, and Java with a Bash script on CentOS, then verify versions and commands for hands-on practice.
Explore how bash shell scripting uses variables to store numbers, strings, paths, and command output, and learn to declare, assign, and reference them with $ and ${}.
Learn how to produce colored output in bash scripts using echo -e, pass color codes to display strings in blue or other colors, and reset to default color.
Use the source command to load variables from a file into the current shell, enabling scripts to access defined values like docker and ansible tools.
Learn to use dir name to strip suffixes after the last slash and base name to extract the final path element from file or directory paths.
Learn how bash arrays store multiple values in a single variable using indexed arrays and declare -a. Values are space separated; quotes handle spaces and mixed data types.
Access and modify bash arrays by index (zero-based), retrieve single or all values with ${array[index]} and ${array[@]}, measure length with ${#array[@]}, and manage overwriting, appending, and deleting.
Declare and populate bash arrays directly or from command line arguments, and manage input with IFS, including colon-based splitting and restoring the old IFS.
Learn to use grep to filter lines from files or command output, mastering options like -i, -w, -n, -v, and -l, with -E and -e for precise matches.
Store the search string in a variable and use it in grep; enable variable expansion with double quotes, and avoid it with single quotes, as shown with /etc/passwd.
Learn to perform sed find and replace with the set command, using in-place edits with -i, backups, single-character delimiters, and variables in replacements.
Learn to combine multiple commands using command chaining operators, including the pipe, semicolon, logical and operator, and logical or operator for concise shell scripts.
Learn how to chain commands with the pipe operator to pass output as input, redirect errors to stdout, then filter with cut and store results in a variable.
Learn to chain multiple commands in one line with the semicolon operator, executing independent commands in sequence, and even define and display variables on shell scripts and the command line.
This unique course is designed to become an expert in bash shell scripting to automate repetitive tasks.
As we know that most of the organizations are moving into Linux and Unix operating system as its generally open source. Additionally, Linux, Unix skills gained by developers would make them more in demand.
From a developer perspective, this course not only cover command line commands, but also Bash shell scripting to make you comprehensive developer expert in Linux \ Unix OS.
The topic covered are as follows:
How to write shell scripts from basic to advanced level
What is the shebang line and why every shell script need ones.
How to create and use variables
Testing and Decision Making
Command line arguments
Input and output
Conditional Statements
Exit status
filters like grep, awk, cut and sed
Functions
Loops
Case statements
Logging
Working with REST APIs using curl
Working with remote servers
Who this course is for:
Beginner Level to Advanced Level Automation Engineers with Bash Shell Scripting
Requirements
Need minimum knowledge on Unix/Linux Commands
Desire to learn shell scripting
Any Unix-Like OS running on Physical Machine or Virtual Machine or Virtual Machine from Any Cloud Provider
What you'll learn
Students will be able to understand shell scripting concepts
Students 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
Happy learning!!