Spoken Tutorial

Basics of Redirection (error handling) - 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
  • 18
    Arrays and functions
  • 19
    Advance topics in a function
  • 20
    Recursive function
  • Basics of Redirection (error handling)
  • 22
    More on Redirection
  • 23
    Here document and Here string
  1. Instruction Sheet
Outline:
Basics of Redirection (error handling) Input and Output in bash Redirection definition file descriptors(FD) Standard input Input redirection explained with an example of sorting Standard output Output redirection explained with an example of ls Standard error Error redirection explained with an example of rm

Assignment

Status:

Code files

  • code-files/file.txt
  • code-files/redirection.sh
  • code-files/error.txt
  • code-files/

Status:

Slides

  • Bash-20-slides/3t-logo.pdf
  • Bash-20-slides/Bash-20-6-june.pdf
  • Bash-20-slides/Bash-20-6-june.tex
  • Bash-20-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