Spoken Tutorial

Arrays and functions - English

BASH Tutorials - English 23
  • 1
    Introduction to BASH Shell Scripting
  • 2
    Basics of Shell Scripting
  • 3
    Command Line arguments and Quoting
  • 4
    Globbing and Export statement
  • 5
    Array Operations in BASH
  • 6
    More on Arrays
  • 7
    Conditional execution
  • 8
    Nested and multilevel if elsif statements
  • 9
    Logical Operators
  • 10
    Arithmetic Comparison
  • 11
    String and File attributes
  • 12
    Conditional Loops
  • 13
    More on Loops
  • 14
    Case statement
  • 15
    Using File Descriptors
  • 16
    Basics of functions
  • 17
    More on functions
  • Arrays and functions
  • 19
    Advance topics in a function
  • 20
    Recursive function
  • 21
    Basics of Redirection (error handling)
  • 22
    More on Redirection
  • 23
    Here document and Here string
  1. Instruction Sheet
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 return and exit by an example Workflow of functions having return and exit

Assignment

Status:

Code files

  • code/function_array.sh
  • code/return_exit.sh
  • code/

Status:

Slides

  • slide/3t-logo.pdf
  • slide/BASH-17.pdf
  • slide/BASH-17.tex
  • slide/

Status:

  • FOSSEE Project
  • Scilab Project
  • Oscad
  • Python
  • CFD
  • OR-Project
  • Aakash Labs
  • Co-learn
  • Education Mission
  • Software Training
  • Creation
  • News
  • About
  • Training
Developed at IIT Bombay
This work is licensed under Creative Commons