Skip to content
UdemyLinuxPaid courseBeginner levelCertificate

Linux Bash Shell Scripting: A Practical way of Learning (Udemy.com)

A practical approach to learning and exploring shell scripting with various industrial projects.

Created by: Shikhar Verma

Last updated September 2021

icon
What you will learn

  • Overview about various shells in Unix Based Operating Systems
  • Introduction of Shell Programming
  • Bash Shell Startup Scripts
  • Shebang
  • Debug a script
  • The Shell Variables & Environment
  • Bash, Environmental & System Variables
  • set, env & export command
  • Quoting and their types
  • Performing Arithmetic Operations
  • Create an integer & constants Variable
  • Wildcard & Path name expansions
  • Industrial Project to Completely Automate the Pre-validation report
  • Conditional Statements (Decision Making)
  • If else statement & if..elif..else..fi statement
  • Logical AND &&, OR !!
  • test command & exit status of a command
  • Numeric, String & File Attributes Comparison
  • Positional parameters via special shell variable $1, $2, $3,...,$N
  • Bash Loops - for loop statement

How it compares

Against the other 124 rated Udemy courses in Linux on CourseDuck:

  • Rating4.4 out of 5higher than 35% of them
  • Reviews119#107 of 125 by number of reviews
  • Length9.3 hourslonger than 60% of them
  • Last updatedSeptember 2021earlier than 64% of them

icon
Course Description

Learning is important but most important is how to explore it. This course is designed in such a way that you can learn as well as explore the entire course module with various industrial projects.


Practical approach to learn and explore the shell scripting with various industrial projects


Course Content


Introduction of Shell Programming

  • What is Bash Shell?

  • Types of Shell available in Linux

  • About Shell Scripting

  • Bash Shell Startup Scripts

  • User’s Home Directory - .bash_profile, .bashrc & .bash_logout

  • Shebang

  • Create a simple Shell Script

  • Setting up permissions on a script

  • Debug a Script


The Shell Variables & Environment

  • Bash Variables

  • Environmental Variables

  • System Variables

  • Assign values to shell variables

  • Customize the bash shell environments

  • set, env & export command

  • Rules for naming variable name

  • Simple Script using echo command

  • Quoting

  • There are three Type of quoting

  • The double quote (")

  • The single quote (')

  • The Backslash (\)

  • User's Input via Keyboard

  • Read Command

  • IFS

  • Practice Lab Session


Arithmetic Operations

  • Performing Arithmetic Operations

  • Create an integer Variable

  • Create the Constants Variable

  • Path name expansion

  • Wildcards [*], ?, [..] etc

  • Create & use aliases

  • Practice Lab Sessions


Industrial Project to Completely Automate the Pre-validation report

  • A Shell Script to collect required information from a server

  • The Bash Color

  • Writing Color Text

  • Various Color Codes for Foreground & Background Text

  • Lab Session on Bash Color

  • Script to fetch the system information i.e system_details

  • Schedule the script via cron

  • Final Script to fetch the environment report on a single click

  • Lab Session


Conditional Statements (Decision Making)

  • Overview of conditional execution

  • What is Condition?

  • Boolean value (True & False)

  • If else statement

  • Lab Session on if..else..

  • if..elif..else..fi statement

  • test command

  • Logical AND &&

  • Logical OR !!

  • The exit status of a command

  • Numeric Comparison

  • String Comparison

  • File Attributes Comparison

  • Shell Command line parameters

  • Positional parameters via special shell variable $1, $2, $3,...,$N.

  • Practice Lab Session


Bash Loops

  • Overview of loop statement

  • for loop statement

  • Lab on for loop

  • for loop using C like Syntax

  • for loop using command line arguments

  • Nested for loop statement

  • Chessboard using nested loop statement

  • While loop statement

  • Lab Session - read a text file line-by-line or using IFS

  • infinite while loop

  • case statement

  • Lab session on case statement

  • Create a simple menu driven program or automation tool Using Case Statement

  • Industrial Project

  • Discussed various scripts using for or while loop


Shell Redirection & Process Management

  • Input Output Redirection in Linux

  • Lab Session on redirection

  • Pipelines in Linux

  • tee command

  • file descriptor (fd) to file for output

  • file descriptor (fd) to file for input

  • file descriptor (fd) for reading & writing

  • Practice Lab Session

  • Overview of a Process

  • Foreground & background Process

  • Various Stats of a process

  • Lab Session


Functions

  • Defining functions

  • Displaying functions

  • Nested functions

  • Lab Session - writing functions

  • Calling functions

  • Local & global variables

  • Passing arguments into a function

  • return statement

  • Practice Lab Sessions

AWK

  • Introduction Awk

  • Pattern matching

  • User defined variables in awk

  • Awk pre-processing

  • Awk post-processing

  • Practice Lab Session


SED Stream Editor

  • Introduction

  • Replacing or substituting string.

  • Replacing the nth occurrence of a pattern in a line

  • Replacing all the occurrence of the pattern in a line

  • Changing the slash (/) delimiter

  • Using & as the matched string

  • Duplicating the replaced line with /p flag

  • Replacing string on a specific line number

  • Replacing string on a range of lines

  • Replace on a lines which matches a pattern

  • Deleting lines

  • Add a line after a match

  • Add a line before a match

  • Last Lecture


icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Shikhar Verma

Shikhar Verma – Entrepreneur, Corporate Trainer, and IT Consultant


●Founder & CEO of Techstart – Leads an IT company specializing in designing, developing certified courses, content creation, and managing online/offline IT projects for renowned companies.

●15+ Years of Industry Experience – Worked extensively in the IT sector before establishing his own business, bringing deep expertise in technology and corporate training.

●Passionate About Technology & Education – Dedicated to utilizing his technical skills to drive both organizational success and personal career growth.

●Renowned Udemy Instructor – Simplifies complex technical concepts and delivers them in an engaging and approachable manner.

●Educating Since 2016 – Taught over 100,000 students worldwide across multiple learning platforms.

●Educational Background – Holds a BTech in Electrical and Electronics Engineering.


●Core Expertise:

☆Generative AI, Python, DevOps, Docker, Git, Kubernetes, Linux, Ansible, Shell Scripting

☁️ AWS Cloud (Amazon Web Services), Linux Clustering, GCP

icon
More courses by Shikhar Verma

$16.99

$74.99

$10.99

$11.99

$84.99

$11.99

icon
More Linux courses

$69.99

$24.99

$109.99

$16.99

$16.99

$119.99

icon
Reviews

4.4

119 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Diego Alonso Alarcón Díaz on 11/19/2022

You should provide the information in a text file as well.

By Jorge Maldonado on 9/16/2022

The instructor used practical examples based on real working experience and they were easy to follow. Thank you!

By Devi on 1/5/2021

It was very useful for me with detailed explain about kernel

By Rodolfo Leonardo Mesones Correa on 7/8/2020

Is a good course and I 100% recommend for learn basics concepts about shell scripting

By Olivier O on 4/30/2020

Thank you so much Shikhar for such a wonderful course You've been a great teacher and even exceeded my expectations

By Mammadrasul Yagubov on 9/8/2019

This course is beyond my expectations, because every lesson is explained in details and very interesting with the examples.

By Subhan on 9/7/2019

Its a useful for beginners who are ready to learn a shell script with minimum Linux administration knowledge they can understand the topics and request you to add some more real-time projects sceneries.

By Ashwin Appayanna on 8/22/2019

its a very good course, explained in a simple way,can easily clear interview questions related to shell scripting..for beginners to worth to take this course..

By Zishan Jawed on 8/20/2019

I have always love the way Shikhar Verma sir explains each topic and he covers a wide variety of topics keep introducing new courses.

By Hamada Elmi on 8/15/2019

He is the Best Udemy Instructor or Teacher guys if you want to know anything about Linux or Redhat Mr. Shikhar Verma is the men to ask or learn from. I really appreciate your help.

Showing all 10 reviews on CourseDuck

Read all 119 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 88 / 100