Search Tutorials

About 23 results found.

Foss : BASH - English

Introduction to BASH Shell Scripting The bash shell Bash Shell Script

Basic

Foss : BASH - English

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Basic

Foss : BASH - English

Globbing and export statements Globbing The export statement

Basic

Foss : BASH - English

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

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

Intermediate

Foss : BASH - English

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

Basic