Mastering Bash Shell Scripting: Automate your daily tasks

Access to Live Linux Lab Environments!!

4.10 (36 reviews)
Udemy
platform
English
language
Operating Systems
category
Mastering Bash Shell Scripting: Automate your daily tasks
742
students
11.5 hours
content
Jan 2022
last update
$64.99
regular price

What you will learn

Student will understand various features of bash sell

Student will learn to write scripts to automate repeated tasks to save time

Student will learn to use conditions and loops effectively

Student will learn to read files & process them line by line

Why take this course?

*** Access to LIVE LINUX LABS ***

*** Supercharge your productivity with shell scripts! ***

This course will help you learn the following:

  • A step-by-step & systematic approach in learning shell scripting embedded with quizzes, assignments & projects.

  • Accept user input

  • Process command-line arguments

  • Understand the shell special variables

  • Using Brace expansion

  • Using conditional statements & loops: if..then..else, while, until, for and case

  • Create user menus using "select"

  • ***** Write loops directly on the command-line for disposable scripts *****

  • Quizzes, Assignments, Projects & Tests -- To enhance your learning.

Resources included to "boost" your productivity:

  • Template Scripts.

  • A design approach for medium & complex projects.

  • Real-world sample scripts.

Content

Ground - ZERO

Course Overview
To get best out of this course
Repetitions
Access to Live Lab Environment for Practice

Getting Started - The Basics

Overview
Editors - vi, nano, vim, GUI editors etc
My First Script - WoW!
Accepting the input from the user
Passing Arguments
Functions - The Basics
"printf" statement - Part 1
"printf" statement - Part 2
Escape Character & Line Continuation Character
Module Resources
Getting Started - Quiz #1
Getting Started - Assignment #1
Getting Started - Assignment #1 Solution
Launch Your Lab & Practice!!

Understanding Variables

Overview
Variables - Basic Concepts
Using Variables - Basics
Variables, Global & and Scope
Environment Variables
Positional Parameters
Other Shell Variables - Part 1
Other Shell Variables - Part 2
Variables in Functions (local variables)
declare statement
source & export command
Command Substitution
Module Resources
Understanding Variables - Quiz#1
Understanding Variables - Assignment #1
Understanding Variables - Assignment #1 - Solution
Launch Your Lab & Practice!!

Operators

Overview
Types of Operators
Conditional Tests
Performing Arithmetic Operations
Arithmetic Operators - P1
Arithmetic Operators - P2
Arithmetic Comparison Operators
String Comparison Operators
Logical Operators
File Test Operators
Module Resources
Operators - Quiz#1
Operators - Assignment#1
Launch Your Lab & Practice!!

Customizing Shell Environment

Overview
Shell Prompt Customization
Bash Shell Special Files
Alias Command
Practical usage of Profile file
Module Resources
Customizing Shell Environment - Quiz#1
Customizing Shell Environment - Assignment #1
Launch Your Lab & Practice!!

Shell Parameter Expansion

Overview
Brace Expansion
Shell Parameter Expansion
Module Resources
Launch Your Lab & Practice!!

Flow Control

Overview
Conditional Statement - if..then..else
Creating Loops using "while" and "until"
Creating Loops using "for"
Controlling The Flow - sleep, continue, break & exit
"case" statement
Creating User Menus - "select" Statement
Module Resources
Launch Your Lab & Practice!!

File Processing

Overview
Reading files using while
Reading files using for
Assignment - passwd
Assignment - passwd - Solution
Module Resources
Launch Your Lab & Practice!!

Functions - Revisited

Overview
Simple Function
Returning data
Passing Arguments to Functions
Using functions from external scripts
Module Resources
Launch Your Lab & Practice!!

Parsing Command Line Arguments

Overview
Using "shift" function
Parsing arguments using "getopts "
Module Resources
Launch Your Lab & Practice!!

Process Handling & Running Scripts

Overview
Process, Parent Process, Child Process & PID
Types o f Process - FG, BG, D
Viewing the Running Processes (ps command)
"nohup" command
"time" command
Signals
Killing Processes - "kill" command
Job Control - jobs, fg, bg
Launch Your Lab & Practice!!

Scheduling Scripts

Overview
Scheduling Concepts
"at" command & "batch" command
"cron" command
Launch Your Lab & Practice!!

Debugging Scripts

Overview
Debugging - Part 1
Debugging - Part 2
Debugging - Part 3
Module Resources
Launch Your Lab & Practice!!

Scripting @ The Command-line

Overview
Using "semicolon" and "pipe"
Using && and ||
Killing Processes using "awk" and "xargs"
Loops at the Command-line - WoW!
Launch Your Lab & Practice!!

Linux Commands - Quick Refresher

Overview
"tar" command - Part 1
"tar" command - Part 2
Commands
Launch Your Lab & Practice!!

Standard I/O Concepts

Standard I/O Concepts
Standard I/O Demo
Terminal and Null Files
File Descriptors Usage
Using "I" (pipe) - sort & uniq commands
Launch Your Lab & Practice!!

Projects - Get Ready For The Challenges

Overview
Project #01
Project #02

Miscellaneous

How to quickly create large files for testing?
How to empty a large file quickly?

Conclusion

Bonus Lecture

Reviews

Lenka
February 7, 2021
I work as a Junior BI Analyst who joined a project using Unix . The course helped me a lot to better understand the production scripts and I am sure I will be able to write my own simple scripts to help me automate my routine tasks. I got a complete overview of options I have for my work. If there was something not 100% clear to me during the course, it was always clearly explained later in another section. Thanks to this course I also discovered in which areas I had more room for improvement.

Coupons

DateDiscountStatus
2/13/202292% OFF
expired
2/27/202292% OFF
expired

Charts

Price

Mastering Bash Shell Scripting: Automate your daily tasks - Price chart

Rating

Mastering Bash Shell Scripting: Automate your daily tasks - Ratings chart

Enrollment distribution

Mastering Bash Shell Scripting: Automate your daily tasks - Distribution chart

Related Topics

2707352
udemy ID
12/16/2019
course created date
2/16/2021
course indexed date
mohamedxxx
course submited by