Bash Shell Scripting: Crash Course For Beginners

Learn Bash Shell Scripting from total beginner:Start from the Command Line,finish with a real world Shell Script Project

4.55 (12726 reviews)
Udemy
platform
English
language
Web Development
category
instructor
Bash Shell Scripting: Crash Course For Beginners
44,453
students
5.5 hours
content
Apr 2020
last update
$119.99
regular price

What you will learn

Learn how to use the command line

Be able to write your own Shell scripts

Automate tasks using Shell scripts

Make decisions by using if-else statements

Make decision based on strings, variables or files

How to use arithmetic expressions

How to loop through files and folders with for and while loops

How to use functions

How to deal with variables scope

Create Shell Scripts that solves a real world problem

Why take this course?

You can finally understand Shell Scripting.

This course will give you a clear understanding of how to write Shell Scripts.

In this course everything is explained at a slow pace and thoroughly to make sure you can follow everything. 

Even if you never used the command line, the first 2 Sections  will teach you all the tools necessary to use the command line and start writing your shell scripts, nothing is left out.

Moreover after walking you through  all the fundamentals of Shell Scripting, the last 2 Sections are project based, there we will combine everything you have learned in the course to create a script that solve s real world problem.

By the end of the course you'll be writing  your own Shell Scripts, in particular you will learn how to:

  • Use the command line
  • Automate tasks using Shell Scripts
  • Create and use variables in your scripts
  • Make decisions by using if-else statements
  • Make decision based on strings, variables or files
  • Use arithmetic expressions
  • Loop through files and folders with "for" and "while" loops
  • Use functions
  • Deal with variables scope
  • Create Shell Scripts that solves real world problems
  • and much more... 

Content

Command Line for Beginners

Introduction
Terminal Overview
Track Your Progress
List command Ls
Ls -L. Understand the Terminal Output
Ls with folders
Change Directory: cd
NEW! Open, Xdg-Open
Touch
Move
Copy-Remove
Star Sign: *
Recursive
Section 1
(NEW!) Exercises Command Line Sect1
(NEW!) Sect 1 Ex1
(NEW!) Sect 1 Ex2

Important Commands For Shell Scripting

Redirect
Pipe
Find
Grep
Bonus Lecture: The AWK command. Part1
Bonus Lecture: The AWK command. Part2
Sudo
Change Owner
Change Permission
Change Ownership to Folders
(UPDATED!) Variables
Command Substitution-Expansion
UNIX Login file ( IMPORTANT )
Read
Section 2
(NEW!) Exercises Command Line Sect2
(NEW!) Sect 2- Ex1
(NEW!) Sect 2- Ex2

SHELL SCRIPTING: Intro and Basics

Track you Progress !! (2)
Shell Scripting Intro
Execute
Which
The First Script
Editors and Read
Change the PATH ( IMPORTANT )
Script Open
Shell Script Basics
(NEW!) Exercises Shell Script Sect3
(NEW!) Sect 3- Ex1
(NEW!) A script that create another Script: Ex2

SHELL SCRIPTING

Arithmetic Expressions
IF Conditions
Else
Exit
Logic Conditions
IF on Strings
Empty Strings
IF on Files
For Loops
NEW! TOP 5 MISTAKES as a beginner
While Loops
Terminate a Script; Sleep
(NEW!) Cases
Exit Status
Functions
Variables Scope
Exercises Shell Scripting
Divisibility of Numbers Script. Ex1
Counting of ".txt" Files Script. Ex2
(NEW!) User renaming all files: Ex3

Bonus Lecture

Bonus Lectures: Become Professional in Bash

SHELL SCRIPT PROJECT

Intro to the project
Project1 Part A
Project1 Part B
Project1 Part C

SHELL SCRIPT COMPLETE PROJECT ( PROJECT 2 )

COMPLETE PROJECT Part A
COMPLETE PROJECT Part B
COMPLETE PROJECT Part C
COMPLETE PROJECT Bonus: Functions

Conclusion and Tips

Conclusion and Tips
Bonus Lectures: Become Professional in Bash

Reviews

Risposta
November 17, 2023
Very Good Course to start Shell Scripting, the teaching is good, however it happened sometimes that you did something and did not mention how to do it and as I was practicing side by side I got stuck (e.g- Closing Nano text editor, how to save and close etc I had to look around and then found it in QnA section. This was the only change I would like you to implement as it will help a complete beginner).
Nibedita
November 3, 2023
Really a great course for beginners like me to learn Bash Shell scripting. Thank you so much Francesco for explaining everything in a very simple way.
Tim
October 6, 2023
if i use sidecar on my ipad to put my other work on and have this either on chrome or safari on my built in mac screen the video is blank. Only when is disconnect sidecar it returns!
Raymond
September 20, 2023
Several thoughts, stopping at lesson 17. * Lots of "puffs" of breath when discussing topics (might consider re-recording with a screen or other tool for reducing this type of capture) * When changing between Mac and Linux there is a volume difference and the recording isn't as clear on the Linux video segments * Volume isn't consistent throughout the cut (audio volume goes up and down throughout) - seems as if there is movement towards and away from the microphone (or the head is turned away from the microphone and back) * Also is fairly obvious the audio if chopped together instead of being a single cut at one time (considering how short the cut is, these cuts shouldn't be chopped together) * The audio has a lot of left and right volume changes (volume increases on one speaker or the other, but not both at the same time) * Lesson 5: discussing the ls command, you cover the long list but when you cover the permissions the line selected has an "@" sign, but this isn't discussed at all. Since there are a number of these variances in the directory you selected it would be prudent to at least mention what the "@" means and that it would be covered or wouldn't be covered later on * Lesson 9: Touch has xdg-open segment at the end of the video that should be removed since lesson 8 already covered this * Lesson 9: A lot of people tend to describe the touch command as a way to create a file. In truth, and as per the man page for the command, touch is intended to update the time stamp of a file. As a side effect, when the file to be touched doesn't exist it will then create a file. This can be used in a script to monitor and take action something depending on the abscence or existence of a file. Should consider creating a more advanced discussion of this command as it has some significant use beyond what is discussed here * Lesson 10: You talk about the "." directory, but you don't actually explain it or the filesystem concept behind the Linux system. Where you have relative pathing and things. This is important, since you should also mention how even sockets and processes are treated like "files" in Linux. This helps with scripting and speaks to why "touch" is an important command. * Lesson 11: You open the cut with some finger snapping - that should be cut as it can be hard on the ears depending on a person's volume level * Lesson 11: You discuss checking if two files are the same, this would've been a great segway into discussing hashes - which is the only way to confirm two files are the exact same thing. The method you discuss of looking at text is not a valid comparison * Lesson 11: When you interact with nano, you fail to discuss what nano is or what you are issuing to save and quit the file editing process * Lesson 11: Since you are talking about mv and cp, you should also talk about how Linux sees these files. Outside of hashes, you also have things like MAC timestamps. On a cp, is the timestamp different? On a mv? Permisions, file size, etc. etc. * Lesson 17: Covering the redirect symbol ">" is helpful as you showed, but you didn't really show how you could use it beyond basic text dumping. You didn't cover the redirection symbol "<" or the use of dumping unwanted content to a bit bucket like "2>&/dev/nul" (redirecting standard output and standard error). Both would have been helpful concepts to cover in this section.
Padmavathi
September 15, 2023
Good for beginners, got to know many things from this. I actually have a vague idea of shell script, but I was not confident. This course gave me a boost
Sanjeev
September 14, 2023
Made concept crystal clear and have exercises that pushes us to our limit and get better understanding
Amit
September 9, 2023
Every topic is very nicely explained in very simple language as this was new to me, I have learned a lot about Shell Scripting.
Hanna
September 7, 2023
Great course for beginners, but also for people looking for more knowledge of Linux. I enjoyed watching lectures, everything is well explained with lots of examples.
Stuart
September 3, 2023
A great overview of Linux shell scripting! I was able to learn quickly and follow along easily, and I learned some new things too!
Anonymized
August 23, 2023
A dicção do professor é muito boa, fala devagar e explica muito bem. Apreciei o método de testes que permite uma aprendizagem mais eficiente.
Kirsten
August 21, 2023
clear and efficient course. It covered good ground, with good examples, but with minimal time wasting on intros, promotion, or needleless repetition
Nathan
July 10, 2023
The instructor is pretty monotone and the quizzes are worded a little weirdly leaving a lot of space for interpretation. The course as a whole is very good though, great information, and the instructor knows his stuff. I would highly recommend it despite my two gripes.
Adrian
July 7, 2023
THIS COURSE CHANGED THE LIFE OF MY TESTER COLLEAGUE AND IT SAVED OUR RELATIONSHIP! VERY GOOD COURSE! THANK YOU!
Aaron
January 25, 2023
Yeah, this is my second Linux Udemy course and I can say thus far the approach the instructor uses is a lot more practical and fundamentally applicable, in terms of building understanding and working with real life in-depth scenarios! Thank you,
Anand
January 21, 2023
I was expecting more demo projects in the course. Also if the contents related to networking and disk are added then its really helpful

Charts

Price

Bash Shell Scripting: Crash Course For Beginners - Price chart

Rating

Bash Shell Scripting: Crash Course For Beginners - Ratings chart

Enrollment distribution

Bash Shell Scripting: Crash Course For Beginners - Distribution chart
1583482
udemy ID
3/6/2018
course created date
11/22/2019
course indexed date
Bot
course submited by