Spoken Tutorial

Logical Operators - 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
  • 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
  • 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:
Logical Operations Logical AND syntax Logical AND workflow Logical OR Logical OR workflow Logical OR and AND with string comparison program Logical NOT syntax Demonstration of logical NOT with an example(Example used: Checks whether a file exists)

Assignment

Status:

Code files

  • code/logical.sh
  • code/logicalNOT.sh
  • code/

Status:

Slides

  • slides/bash-9-13Sep.pdf
  • slides/bash-9-13Sep.tex
  • slides/3t-logo.pdf
  • slides/

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