Spoken Tutorial

More on 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
  • More on functions
  • 18
    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:
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 used: Displaying complete name) Passing command line arguments Demonstration of passing command line arguments by an example(Example used: Displaying simple message)

Assignment

Status:

Code files

  • code/function_local.sh
  • code/function_parameters.sh
  • code/

Status:

Slides

  • slide/3t-logo.pdf
  • slide/BASH-16-12-March.pdf
  • slide/BASH-16-12-March.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