Search
Now showing items 1-10 of 23
Array Operations in BASH
(Spoken Tutorial IIT Bombay, 2013-07-18)
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 Bash ...
Logical Operators
(Spoken Tutorial IIT Bombay, 2013-09-13)
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;
...
Arrays and functions
(Spoken Tutorial IIT Bombay, 2014-03-25)
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 ...
Recursive function
(Spoken Tutorial IIT Bombay, 2014-05-26)
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 flow ...
More on Arrays
(Spoken Tutorial IIT Bombay, 2013-08-19)
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 illustrate ...
Arithmetic Comparison
(Spoken Tutorial IIT Bombay, 2013-10-09)
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 ...
String and File attributes
(Spoken Tutorial IIT Bombay, 2013-10-11)
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 ...
Command Line arguments and Quoting
(Spoken Tutorial IIT Bombay, 2013-06-03)
Outline:
Command Line arguments and quoting;
Command Line arguments;
Single quote;
Double quote;
Backslash.
Pre-requisite: Basics of Shell Scripting
Conditional Loops
(Spoken Tutorial IIT Bombay, 2013-11-26)
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;
...
More on Loops
(Spoken Tutorial IIT Bombay, 2013-12-23)
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. ...