Foss: BASH - English

Outline: Introduction to BASH Shell Scripting The bash shell Bash Shell Script

Basic

Foss: BASH - English

Outline: Basics of Shell Scripting System variables User defined variables Accepting user input via keyboard

Basic

Foss: BASH - English

Outline: Command Line arguments and quoting Command Line arguments Single quote Double quote Backslash

Basic

Foss: BASH - English

Outline: Globbing and export statements Globbing The export statement

Basic

Foss: BASH - English

Outline: Array Operations in BASH Declaring an Array and Assigning values Initializing an Array during declaration To find length of Bash Array and length of nth element To print whole Ba..

Basic

Foss: BASH - English

Outline: More on Arrays Extraction of Array elements Search and replace in an Array element To Add an element to an Array To remove an Element from an Array Shell script to illustrat..

Basic

Foss: BASH - English

Outline: Conditional execution Test Syntax of test if...then Bash script example for if...then if...then...else...if if-else with a password program

Basic

Foss: BASH - English

Outline: More on If loops Nested if Nested if with flowgraph Nested If-else with Name and Password verification program Multilevel if-then-else Multilevel if-then-else with flowgraph..

Basic

Foss: BASH - English

Outline: Logical Operations Logical AND syntax Logical AND workflow Logical OR Logical OR workflow Logical OR and AND with string comparison program Logical NOT syntax Demo..

Basic

Foss: BASH - English

Outline: Bash comparison- Arithmetic comparison Arithmetic comparison -eq(equal to) -ne(not equal to) Demonstration of -eq and -ne with a word count program(Used: `wc -w`) -lt(lesser..

Basic

Foss: BASH - English

Outline: String and File Attributes comparison in BASH String comparison String comparison using == operator String comparison using != operator Simple program of user id to demnostrate..

Basic

Foss: BASH - English

Outline: Conditional Loops The for loop statement for loop with three expression syntax for loop with sequence/range syntax flow of for loop program The while loop statement flo..

Basic

Foss: BASH - English

Outline: More on Loops A loop within a loop Outer for loop Nested for loop Inner for loop Syntax of nested for loop Finding files in the directories using nested for loop

Basic

Foss: BASH - English

Outline: Case statement in BASH Importance of case statement Syntax of case(With both single and multiple options) Work-flow of case statement Creating menus using case Case statemen..

Basic

Foss: BASH - English

Outline: Using File Descriptors Introduction on fd Assign the file descriptor (fd) to file for output(exec fd > filename) Explained using an example of 'date' and 'echo' ..

Intermediate

Foss: BASH - English

Outline: Basics of functions Writing your first shell function Displaying functions Writing functions Function defintion Calling functions Workflow of function Demonstratio..

Intermediate

Foss: BASH - English

Outline: More on Functions Local variable in a function Global variable in a function Scope of local and global variables Demonstration of local and global variable by an example(Example ..

Intermediate

Foss: BASH - English

Outline: Arrays & functions Arrays & functions Usability of array by different function call Array example Use of return in a function Use of exit in a function Illustration of ..

Intermediate

Foss: BASH - English

Outline: Advance topics in a function Source command Source command usage example Brief description on background function Illustration of bg function Use of Jobs command to find job n..

Intermediate

Foss: BASH - English

Outline: Recursive function Recursive function meaning and uses Illustration of recursive function(Example used: Factorial of a number) Debugging of bash script(bash -x filename) Work flo..

Intermediate

Foss: BASH - English

Outline: Basics of Redirection (error handling) Input and Output in bash Redirection definition file descriptors(FD) Standard input Input redirection explained with an example of sor..

Intermediate

Foss: BASH - English

Outline: More on Redirection Redirection of both standard error and output using 'command &>filename' Redirection of both standard error and output using 'command >/dev/null 2>&1' Explanation on /dev/null..

Intermediate

Foss: BASH - English

Outline: 'Here' document and 'Here' string Here document Illustration of Here document with 'wc -w' Here string Illustration of Here string with 'wc -w'

Intermediate