Search Tutorials

The tutorials in this series are created using BASH version 4.1.10 on Ubuntu 12.04. Bash is the shell, or command language interpreter. It offers functionalities such as Command line editing, Unlimited size command history, Job Control, Shell Functions and Aliases, Indexed arrays of unlimited size, Integer arithmetic. Read more


About 23 results found.
  1. Instruction Sheet

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 ..

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..

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..

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 ..

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 ..

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 us..

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 loo..

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 ne..

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 cas..

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'..

Intermediate

Foss : BASH - English

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

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..

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 ..

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 c..

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 fil..

Intermediate