Shell Script Tutorial - Bash Scripting for Linux/Unix/Bash

Shell Scripting - Bash Scripting Tutorial with examples for Linux/Bash/Unix
3.9 (44 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,710 students enrolled
$19
$20
5% off
Take This Course
  • Lectures 65
  • Length 7.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 12/2015 English

Course Description

This course will take you from basics of shell scripting which includes how to write or save shell scripts, changing permissions fro execution, taking input from user, loop concepts etc. And will take you slowly to advance concepts like pipes, filters, processes, linux utilities like cut, paste, join etc.

Every concept has been explained with lot of examples so you would know when to apply it and how to apply them in real time world. At the end of course you will find full downloadable ebook containing all concepts and related examples.

  • You will become a shell programming expert with comprehensive knowledge of shell programming
  • You will learn with more than 60+ programming & real world examples
  • You will know How to make use of Mathematical, String and Logical operators in shell script to make decisions
  • How to Create functions in shell scripts and improve reusability
  • You will learn How to make use of Exit values to determine shell script output status
  • How to Accept input from a user and then make decisions on that input.
  • You will know How to make use of Expressions in shell scripts
  • Dealing with command line arguments and use of it with examples
  • You will learn How to make use of Pipe & Process concepts while creating shell scripts
  • Use of utilities like cut, paste, join, tr in shell scripts with examples
  • Practice exercises with solutions so you can start using what you learn right away.
  • Real-world examples of shell scripts, how it is used in corporate world.
  • Last but not least, you will get downloadable material containing the scripts and topics contents

Thank you!

What are the requirements?

  • Interest to lean shell scripting

What am I going to get from this course?

  • 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.

What is the target audience?

  • Anyone interested in learning shell scripting or shell programming.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Shell Introduction & First Shell script
Course Introduction
Preview
04:21
Shell Introduction
Preview
04:21
My First Shell Script
Preview
05:39
Section 2: Variables
User defined & System Variables - Types
09:16
Section 3: Usage of Quotes - Concept & Examples
Double, Single and Back Quotes - How & Where to use
05:51
Section 4: Exit Status Value
Exit Status Value - Concept & Examples
06:35
Section 5: Redirection of Standard Input/Output
Redirection concept & Example
07:59
Section 6: Taking Input From User
read and echo command - concept & example
04:24
Section 7: Wild Cards
Wild Cards concept & example
03:54
Section 8: Pipe Concept and Examples
Pipe Concept and Examples
10:18
Section 9: Expressions in Shell scripting
Use of Expression concept & Example Part 1
09:34
Use of Expression concept & Example Part 2
06:18
Section 10: Operators - Concept & Examples
Mathematical Operators
05:03
String Operators
04:36
Logical Operators
04:25
Section 11: Command Line Arguments
Command Line Arguments Concept & Example
06:17
Section 12: Part 1 - Practical Shell Script Examples - File Operations
shell script to create directory
03:01
shell script to rename files
03:26
shell script to copy files
03:29
shell script to delete file
02:22
shell script to list files in a directory
02:45
Section 13: Conditional statements
if command concept & example
07:06
if...else...fi concept & example
05:40
Nested ifs concept & example
04:55
Multilevel if-then-else concept & example
06:08
switch or case command concept&example
09:08
Section 14: For & While Loop
Looping Concepts
08:21
for loop example 1 & example 2
12:56
Nested For loop - concept & example
07:33
while loop concept & example
07:31
Section 15: Part 2 - Practical Shell Script Examples Explained
Print incremental numbers
03:23
Print decremental numbers based on user input
03:03
Print Fibbonaci series
08:22
Create repeating pattern using for loop
06:31
Section 16: Processes in Linux/Unix
Processes concept & examples
07:16
Section 17: User Defined Functions
What is Function & Need of Function
02:21
Function examples
04:46
Section 18: Part 3 - Practical Shell Script Examples Explained
shell script to delete old files
05:51
shell script to archive files
10:40
shell script to read file line by line
03:52
shell script to move file to another location
03:49
shell script to get cpu usage of a user
02:35
Section 19: Sending unwanted output of program
Sending unwanted output of program - concept & example
02:09
Section 20: Conditional command execution with && || operators
Conditional commands execution using &&
03:48
Conditional commands execution using || operator
04:36
Section 21: Part 4 - Practical Shell Script Examples Explained
Create star pattern using for loop
04:59
Drawing Incremental Pattern
05:13
Reverse the given number by user
06:47
Section 22: Essential Utilities
Utilities Concept and Examples - cut, paste, join, tr
10:15
Section 23: Part 5 - Practical Shell Script Examples Explained
Paste Command Example 1
04:20
Paste Command Example 2
03:31
Cut Command example 1
04:13
Cut Command example 2
03:28
Copying Files Example
05:04
Section 24: Process, Signals & Traps
What is a Process and How to view Processes
05:15
Sending signal to Processes
08:00
Terminating Processes
04:15
Shell signal values
03:33
The trap statement
04:32
How to clear trap
02:47
Include trap statements in a script
08:41
Section 25: Example Slides
Part 1 & 3 - File_Operation_Examples_1
14 pages
Part 1 & 3 - File_Operation_Examples_2
14 pages
Part 5 - Example Slides
13 pages
Section 26: Complete Tutorial with concepts
Complete Tutorial with concepts PDF
74 pages

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Kish Sat, Senior Software Enginner/Data Architect/Project Manager

For the past 20 years, I have been working as Sr. Software Developer/Data Architect/Project Manager for various starting and large companies in several different domains.

I am a life-long learner. I love learning new topics and techniques.

I like research. I spend hours each week researching and keeping up on the latest trends in all of the fields that I operate in.

Instructor Biography

Vrunda Bakshi, Sr. Architect

My  Job Duties:

  • Enhances information architecture team accomplishments and competence by planning delivery of solutions; answering technical and procedural questions for less experienced team members; teaching improved processes; mentoring team members.
  • Identifies user requirements by researching and analyzing user needs, preferences, objectives, and working methods; studying how users consume content, including data categorization and labeling; meeting with focus groups.
  • Plans information architecture by studying the site concept, strategy, and target audience; envisioning architectural scheme, information structure and features, functionality, and user-interface design; creating user scenarios; preparing data models; designing information structure, work-and dataflow, and navigation; evaluating information representation; conducting creative meetings.
  • Organizes information by translating user behavior into media structure and elements; crafting interactive experiences; producing workflow diagrams, user scenarios, flowcharts, and storyboards; preparing interaction specifications, navigation rules, organization of information, and site maps; coordinating with business, technology, visual, structural, editorial, cognitive, and brand strategists.
  • Implements information architecture by preparing paper and interactive prototypes and mockups including page layout and navigational elements; coordinating with Web Producer and Production Developer to integrate site concept, visual design, writing, interface, and navigational structure; documenting structure and processes.
  • Validates information delivery by developing and completing usability test plans; evaluating traffic patterns; studying user feedback; coordinating with Usability Specialists.
  • Updates job knowledge by tracking research regarding web design and usability; participating in educational opportunities; reading professional publications; maintaining personal networks; participating in professional organizations.
  • Enhances organization reputation by accepting ownership for accomplishing new and different requests; exploring opportunities to add value to job accomplishments.

Ready to start learning?
Take This Course