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?