Skip to content
UdemyLinuxPaid courseAll LevelsCertificate

Shell Scripting Practice Exercises with Demonstration (Udemy.com)

Complete Linux Shell Scripting Tutorial with Practical Exercises and Examples.

Created by: Kashif Ali

Last updated December 2022

icon
What you will learn

  • Students will be able to understand the basic concepts of shell scripting, including how to write and execute the scripts.
  • Students will be able to change files and directories, process text, and do basic system tasks by using common shell commands.
  • Student will be able to use shell scripts to talk to other programs and services, like web servers and databases.
  • Student will be able to understand the differences between different shell environments and how to choose the appropriate shell for a given task.

How it compares

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

  • Rating4.4 out of 5higher than 35% of them
  • Reviews67#122 of 125 by number of reviews
  • Length6 hoursshorter than 55% of them
  • Last updatedDecember 2022earlier than 57% of them

icon
Course Description

This course will be beneficial for anyone who is interested in automating tasks or creating simple programs on a Linux operating system. Some examples of people who might benefit from learning shell scripting include: System administrators will be able to automate system maintenance tasks, such as backups and server updates. Data scientists will be able to learn about pre-process and organize data sets, or to automate data analysis pipelines. Web developers will be able to use to automate the deployment of web applications or to set up a local development environment. DevOps professionals will be able to use to automate the build, test, and deployment processes of software projects.


In this course we will cover the following:

Section 1:  Course Overview

  • Course Overview

Section 2: Lab Setup

  • Installation of Virtual Box

  • Download & Installation of Linux(CentOS) on VirtualBox Step by Step

  • Download, Install and connect through putty

Section 3: Shell Scripting Standards

  • The Shell

  • What is Shell Scripting?

  • Naming Convention for Shell Script

  • Shell Scripting Format

  • File Permissions in Linux

  • How to Run a Shell Script

  • Basic Commands used in Shell Scripting

  • Listing files and understanding LS output

  • Text Editor vi Introduction

  • Quiz

Section 4: Shell Scripting Basic Concepts

  • Creating first script - Hello World

  • Defining variable

  • Arithmetic Expressions in Shell Scripting

  • String Manipulation in Shell Scripting

  • String Comparisons in Shell Scripting

  • Read and Echo (Input/Output) statements

  • Relational Operators in Shell Scripting

  • Conditional Statements (Decision Making)

  • Case Statement

  • For loop in Shell Scripting

  • Do-while in Shell Scripting

  • Until Loop in Shell Scripting

  • Select Loop in Shell Scripting

  • Infinite Loops, and Sleeping

  • Exit Status in Shell Scripting

  • Special Variables in Shell Scripting

  • Quiz

Section 5: Working with Functions, Arrays and String

  • Functions in Shell Scripting

  • Passing Parameters to a Function

  • Nested Functions

  • Indexed array in Shell Scripting

  • Associative array in shell Scripting

  • String Concatenation

  • Extract a substring from a string

  • Nested Loop in Shell Scripting

  • Nested Conditions in Shell Scripting

  • Shifting in Shell Scripting

  • Quiz

Section 6: Real Life Scripting

  • Searching and Extracting Data from Files

  • Shell script to delete oldest files and folders

  • Shell Script to Backup Files in Directory

  • How to use Loops in a file system?

  • Check Users Logged In, Ordered by Date, or IP Address

  • How to trace log messages in a shell script?

  • How to automate user account creation?

  • How to check users not logged in?

  • How to track the process's status and terminate it?

  • How to add and delete data from Inventory?

  • How to reuse one script information to another?

  • How to check the status and connectivity of remote hosts?

  • How to schedule script through cron job?

  • How to check disk space status?

  • How to create and verify created files?

  • How to create script on run time?

  • Store data on live server database

  • Get data from live database server

  • Quiz

Section 7: Additional Content

  • The Linux Directory Structure

  • Absolute vs relative path of a directory

  • Creating files and directories by command line

  • Changing File Permissions

  • Modify File Ownership for user and group

  • Copying Directories and Files

  • Removing Directories and Files

  • head and tail commands

  • Wild Cards

  • Grep

  • Pipe

  • Shell Aliases

  • Compressing and archiving files (using tar, gzip)

  • Explanation of Tab Key Completion

  • Find your IP address in linux

  • User and group administration by command

  • Ping command

  • Handouts

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

Kashif Ali

Kashif is an IT Professional with over a decade of experience working for several fortune 500 companies in the U.S. market. He has utilized his Technical skills for companies such as Pfizer, Verizon, Cox communications and IBM. Additionally, he has acted as a technical consultant and an independent contractor for small businesses and Fortune 500 companies.

He has professional experience with CentOS, RedHat Enterprise Linux, SUSE Linux Enterprise Server and Ubuntu. Additionally, his professional expertise are Linux, VMWare, Windows, Training and ITIL.

Over the years he has under taken many different roles such as Technical Lead, IT manager, Linux system administrator and a consultant.

icon
More courses by Kashif Ali

$15.99

$79.99

$64.99

icon
More Linux courses

$69.99

$24.99

$109.99

$16.99

$16.99

$119.99

icon
Reviews

4.4

67 ratings on Udemy

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

By Moiz Irfan on 12/4/2023

I must say I'm impressed with the quality of your work! Your script demonstrates a solid understanding of shell scripting concepts and showcases some commendable practices.

By Liora Hudson on 11/24/2023

Indeed a helpful course. Instructional style is clear with easy to follow explanation. Hands on exercises are a plus to practice your learning. Good Job!

By Danes on 11/24/2023

The course content was comprehensive, covering everything from the basics of shell scripting to more advanced topics. The real-world examples and hands-on projects made the learning experience both practical and engaging.

By Paul Edison on 11/24/2023

This shell scripting practice has exceeded my expectations, emerging as an invaluable educational asset that intricately explores the subject matter, providing a comprehensive understanding and refining my conceptual clarity.

By KRISHNA PRASAD on 9/24/2023

Mr.Kashif Ali, Demos are so good. Could you please add advanced level shel script like awk scripting, email to and print

By Ken Ree on 9/13/2023

Course is not beginner friendly at all. Quizzes are thrown together and mention things he never went over. He would teach a command or pipe things together and not explain the reasoning. I would say this course is for someone who needs a refresh, but the overall course is not worth it. Making the lectures short doesn't make you a good teacher.

By Abeera Munawar on 4/14/2023

The demonstration is pretty satisfying with clear concepts and ideas. The wow factor about this course is that it puts attention to details which eventually clears all the queries of learners. Highly recommended

By Liam James on 1/28/2023

I highly recommend this course to anyone looking to improve their understanding and proficiency in this subject , as it is expertly crafted, engaging, and packed with valuable information.

By Mia Ozzy on 1/13/2023

I found the course to be well-organized and comprehensive, covering all the important aspects of the subject matter. It was a great learning experience and I highly recommend it.

By Aydın Tokuşlu on 1/3/2023

The course covered all essential parts of the bash shell scripting. Real life exercises could be more. Thanks for the course.

Showing all 10 reviews on CourseDuck

Read all 67 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