Unix Bash Shell Scripting Tutorial Shell Programming Examples Linux

Shell Scripting - Bash Scripting Tutorial with examples for Linux/Bash/Unix

Last updated 2022-01-10 | 3.6

- Become a shell programming expert with comprehensive knowledge of shell programming
- More than 60+ programming & real world examples where shell script is used to automate tasks.
- A step-by-step process of writing shell scripts that solve real-world problems.

What you'll learn

Become a shell programming expert with comprehensive knowledge of shell programming
More than 60+ programming & real world examples where shell script is used to automate tasks.
A step-by-step process of writing shell scripts that solve real-world problems.
Use of Mathematical
String and Logical operators in shell script to make decisions
Using of Exit values to determine shell script output status
Use of Expressions in shell scripts
Use of Pipe & Process concepts while creating shell scripts
Creating functions in shell scripts and improve reusability
Use of utilities like cut
paste
join
tr in shell scripts with examples
Accepting input from a user and then make decisions on that input.
Accepting and process command line arguments.
Variables - how to use them in your shell scripts
and when to do so.
Real-world examples of shell scripts
how it used in corporate world.
A downloadable material containing the scripts used in the presentations and lessons.

* Requirements

* Interest to lean shell scripting

Description

  • Become a shell programming expert with comprehensive knowledge of shell programming
  • More than 60+ programming & real world examples where shell script is used to automate tasks.
  • A step-by-step process of writing shell scripts that solve real-world problems.
  • Use of Mathematical, String and Logical operators in shell script to make decisions
  • Using of Exit values to determine shell script output status
  • Use of Expressions in shell scripts
  • Use of Pipe & Process concepts while creating shell scripts
  • Creating functions in shell scripts and improve reusability
  • Use of utilities like cut, paste, join, tr in shell scripts with examples
  • Accepting input from a user and then make decisions on that input.
  • Accepting and process command line arguments.
  • Variables - how to use them in your shell scripts, and when to do so.
  • Real-world examples of shell scripts, how it used in corporate world.
  • A downloadable material containing the scripts used in the presentations and lessons.

Course content

26 sections • 65 lectures

User defined & System Variables - Types Preview 09:16

Double, Single and Back Quotes - How & Where to use Preview 05:51

Exit Status Value - Concept & Examples Preview 06:35

read and echo command - concept & example Preview 04:24

Wild Cards concept & example Preview 03:54

Use of Expression concept & Example Part 1 Preview 09:34

Use of Expression concept & Example Part 2 Preview 06:18

Command Line Arguments Concept & Example Preview 06:17

shell script to create directory Preview 03:01

shell script to rename files Preview 03:26

shell script to copy files Preview 03:29

shell script to delete file Preview 02:22

shell script to list files in a directory Preview 02:45

if command concept & example Preview 07:06

if...else...fi concept & example Preview 05:40

Nested ifs concept & example Preview 04:55

Multilevel if-then-else concept & example Preview 06:08

switch or case command concept&example Preview 09:08

Looping Concepts Preview 08:21

for loop example 1 & example 2 Preview 12:56

Nested For loop - concept & example Preview 07:33

while loop concept & example Preview 07:31

Print incremental numbers Preview 03:23

Print decremental numbers based on user input Preview 03:03

Print Fibbonaci series Preview 08:22

Create repeating pattern using for loop Preview 06:31

What is Function & Need of Function Preview 02:21

Function examples Preview 04:46

shell script to delete old files Preview 05:51

shell script to archive files Preview 10:40

shell script to read file line by line Preview 03:52

shell script to move file to another location Preview 03:49

shell script to get cpu usage of a user Preview 02:35

Sending unwanted output of program - concept & example Preview 02:09

Conditional commands execution using && Preview 03:48

Conditional commands execution using || operator Preview 04:36

Create star pattern using for loop Preview 04:59

Drawing Incremental Pattern Preview 05:13

Reverse the given number by user Preview 06:47

Utilities Concept and Examples - cut, paste, join, tr Preview 10:15

Paste Command Example 1 Preview 04:20

Paste Command Example 2 Preview 03:31

Cut Command example 1 Preview 04:13

Cut Command example 2 Preview 03:28

Copying Files Example Preview 05:04

What is a Process and How to view Processes Preview 05:15

Sending signal to Processes Preview 08:00

Terminating Processes Preview 04:15

Shell signal values Preview 03:33

The trap statement Preview 04:32

How to clear trap Preview 02:47

Include trap statements in a script Preview 08:41

Part 1 & 3 - File_Operation_Examples_1 Preview 14 pages

Part 1 & 3 - File_Operation_Examples_2 Preview 14 pages

Part 5 - Example Slides Preview 13 pages