Skip to main content
CF

Bash Scripting: Learn Shell Scripting

9h 38m 15s
English
Paid

Learn Bash Scripting from scratch, from an industry expert. You'll learn Shell Scripting fundamentals, master the command line, and get the practice and experience you need to go from beginner to being able to get hired as a DevOps Engineer, SysAdmin, or Network Engineer!

About the Author: Zero To Mastery

Zero To Mastery thumbnail

Zero To Mastery (ZTM) is a Toronto-based online coding academy founded by Andrei Neagoie, originally a senior developer at large Canadian tech firms before turning to teaching full-time. The academy's signature is the cohort-based bootcamp track combined with a deep self-paced course library, all aimed at career-changers and self-taught developers preparing to land software-engineering roles at top companies.

The instructor roster has grown well beyond Andrei to include other senior practitioners: Daniel Bourke (machine learning), Aleksa Tešić (DevOps), Jacinto Wong, and others. Courses cover the full software-engineering career path: web development with React and Next.js, Python, machine learning and deep learning, DevOps and cloud, system design, mobile, and the algorithm / data-structure interview prep that gates engineering jobs.

The CourseFlix listing under this source carries over 120 ZTM courses spanning that full range. Material is paid; ZTM itself runs on a monthly / annual membership model. The teaching style favours long-form, project-based courses where students build complete portfolio-quality applications rather than disconnected feature tutorials.

Watch Online 87 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 87 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Bash Scripting: Learn Shell Scripting
All Course Lessons (87)
#Lesson TitleDurationAccess
1
Bash Scripting: Learn Shell Scripting Demo
02:40
2
Course Goals
03:42
3
Bash Aliases
08:25
4
Shell and Scripts
05:32
5
Creating Your First Script and Changing the PATH
08:57
6
The Bash Shebang
04:01
7
Comments in Bash
03:51
8
Running Scripts
04:28
9
Variables in Bash
09:24
10
Variable Expansion and Quoting
09:48
11
Environment and Shell Local Variables
09:25
12
Getting User Input
06:38
13
Positional Parameters
09:43
14
Project: How to Protect Yourself from Hackers
06:25
15
Special Parameters
03:55
16
$@ vs. $*
05:36
17
Intro to Expansions
02:08
18
Brace Expansion: String Lists
03:48
19
Brace Expansions: Sequence Lists
03:11
20
Project: Brace Expansion
06:47
21
Exercise: Imposter Syndrome
02:57
22
Tilde, Parameter and Variable Expansions
05:49
23
Command Substitution
06:15
24
Arithmetic Expansion
04:32
25
Process Substitution
03:25
26
Word Splitting
05:23
27
Filename Expansion (Globbing)
11:12
28
Intro to Shell Operation
02:26
29
Tokenization
04:37
30
Command Identification
06:40
31
Shell Expansions
01:03
32
Quote Removal
02:43
33
Redirections: Stdin and Stdout Redirections
07:10
34
Stderr Redirection
08:52
35
Full Recap: Hands-on Example
08:04
36
If, Elif and Else Statements
11:56
37
Arithmetic Comparisons
03:57
38
Multiple Condition Tests and Nested if/then Statements
08:01
39
String Comparisons (Part 1)
06:22
40
String Comparisons (Part 2)
02:55
41
Project: Testing Network Connections
04:43
42
The Case Statement
11:22
43
Menus in Bash (The Select Statement)
06:12
44
Project: System Administration Script Using Menus
12:09
45
List of Commands
09:32
46
Running a DOS Attack Without root Access (ulimit)
05:45
47
For Loops (Part 1)
04:54
48
For Loops (Part 2)
06:44
49
Project: Dropping a List of IP Addresses Using a For Loop
05:01
50
While Loops (Part 1)
08:25
51
While Loops (Part 2)
09:07
52
Project: Dropping a List of IP Addresses Using While and Process Substitution
04:29
53
Loops with Break
07:08
54
Loops with Continue
02:24
55
Intro to Bash Arrays
07:06
56
Arrays in Depth
08:47
57
Using the Readarray Command
05:02
58
Iterating Over Arrays
03:17
59
Project: Account Creation
08:38
60
Intro to Bash Functions
03:25
61
Function's Arguments
05:31
62
Variable Scopes in Functions
04:16
63
Installing Ubuntu in a VM
13:22
64
Things To Do After Installing Ubuntu
10:17
65
Running a Linux Server in the Cloud
07:27
66
Securing SSH with Key Authentication
05:09
67
The Basics of VIM Text Editor
08:47
68
The VIM Editor In-Depth - Part 1
08:57
69
The VIM Editor In-Depth - Part 2
05:50
70
Task Automation and Scheduling Using Cron (crontab)
14:51
71
Scheduling Tasks Using Anacron (anacron)
06:46
72
Introduction to Netfilter and Iptables
02:37
73
Chain Traversal in a Nutshell
01:39
74
Iptables Basic Usage
10:55
75
Iptables Options (Flags) - Part 1
07:29
76
Iptables Options (Flags) - Part 2
06:39
77
Where Do We Write Iptables Rules
12:54
78
Setting the Default Policy
06:54
79
Deleting the Firewall
03:40
80
Filter by IP Address
10:56
81
Filter by Port
15:39
82
Intro to Stateful Firewalls (Connection Tracking)
03:34
83
Implementing Stateful Firewalls and Iptables
07:38
84
Filter by MAC Address
08:35
85
Match by Date and Time
09:08
86
The ACCEPT and DROP Targets
05:30
87
The LOG Target
06:22
Unlock unlimited learning

Get instant access to all 86 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Course content

87 lessons · 9h 38m 15s
Show all 87 lessons
  1. 1 Bash Scripting: Learn Shell Scripting 02:40
  2. 2 Course Goals 03:42
  3. 3 Bash Aliases 08:25
  4. 4 Shell and Scripts 05:32
  5. 5 Creating Your First Script and Changing the PATH 08:57
  6. 6 The Bash Shebang 04:01
  7. 7 Comments in Bash 03:51
  8. 8 Running Scripts 04:28
  9. 9 Variables in Bash 09:24
  10. 10 Variable Expansion and Quoting 09:48
  11. 11 Environment and Shell Local Variables 09:25
  12. 12 Getting User Input 06:38
  13. 13 Positional Parameters 09:43
  14. 14 Project: How to Protect Yourself from Hackers 06:25
  15. 15 Special Parameters 03:55
  16. 16 $@ vs. $* 05:36
  17. 17 Intro to Expansions 02:08
  18. 18 Brace Expansion: String Lists 03:48
  19. 19 Brace Expansions: Sequence Lists 03:11
  20. 20 Project: Brace Expansion 06:47
  21. 21 Exercise: Imposter Syndrome 02:57
  22. 22 Tilde, Parameter and Variable Expansions 05:49
  23. 23 Command Substitution 06:15
  24. 24 Arithmetic Expansion 04:32
  25. 25 Process Substitution 03:25
  26. 26 Word Splitting 05:23
  27. 27 Filename Expansion (Globbing) 11:12
  28. 28 Intro to Shell Operation 02:26
  29. 29 Tokenization 04:37
  30. 30 Command Identification 06:40
  31. 31 Shell Expansions 01:03
  32. 32 Quote Removal 02:43
  33. 33 Redirections: Stdin and Stdout Redirections 07:10
  34. 34 Stderr Redirection 08:52
  35. 35 Full Recap: Hands-on Example 08:04
  36. 36 If, Elif and Else Statements 11:56
  37. 37 Arithmetic Comparisons 03:57
  38. 38 Multiple Condition Tests and Nested if/then Statements 08:01
  39. 39 String Comparisons (Part 1) 06:22
  40. 40 String Comparisons (Part 2) 02:55
  41. 41 Project: Testing Network Connections 04:43
  42. 42 The Case Statement 11:22
  43. 43 Menus in Bash (The Select Statement) 06:12
  44. 44 Project: System Administration Script Using Menus 12:09
  45. 45 List of Commands 09:32
  46. 46 Running a DOS Attack Without root Access (ulimit) 05:45
  47. 47 For Loops (Part 1) 04:54
  48. 48 For Loops (Part 2) 06:44
  49. 49 Project: Dropping a List of IP Addresses Using a For Loop 05:01
  50. 50 While Loops (Part 1) 08:25
  51. 51 While Loops (Part 2) 09:07
  52. 52 Project: Dropping a List of IP Addresses Using While and Process Substitution 04:29
  53. 53 Loops with Break 07:08
  54. 54 Loops with Continue 02:24
  55. 55 Intro to Bash Arrays 07:06
  56. 56 Arrays in Depth 08:47
  57. 57 Using the Readarray Command 05:02
  58. 58 Iterating Over Arrays 03:17
  59. 59 Project: Account Creation 08:38
  60. 60 Intro to Bash Functions 03:25
  61. 61 Function's Arguments 05:31
  62. 62 Variable Scopes in Functions 04:16
  63. 63 Installing Ubuntu in a VM 13:22
  64. 64 Things To Do After Installing Ubuntu 10:17
  65. 65 Running a Linux Server in the Cloud 07:27
  66. 66 Securing SSH with Key Authentication 05:09
  67. 67 The Basics of VIM Text Editor 08:47
  68. 68 The VIM Editor In-Depth - Part 1 08:57
  69. 69 The VIM Editor In-Depth - Part 2 05:50
  70. 70 Task Automation and Scheduling Using Cron (crontab) 14:51
  71. 71 Scheduling Tasks Using Anacron (anacron) 06:46
  72. 72 Introduction to Netfilter and Iptables 02:37
  73. 73 Chain Traversal in a Nutshell 01:39
  74. 74 Iptables Basic Usage 10:55
  75. 75 Iptables Options (Flags) - Part 1 07:29
  76. 76 Iptables Options (Flags) - Part 2 06:39
  77. 77 Where Do We Write Iptables Rules 12:54
  78. 78 Setting the Default Policy 06:54
  79. 79 Deleting the Firewall 03:40
  80. 80 Filter by IP Address 10:56
  81. 81 Filter by Port 15:39
  82. 82 Intro to Stateful Firewalls (Connection Tracking) 03:34
  83. 83 Implementing Stateful Firewalls and Iptables 07:38
  84. 84 Filter by MAC Address 08:35
  85. 85 Match by Date and Time 09:08
  86. 86 The ACCEPT and DROP Targets 05:30
  87. 87 The LOG Target 06:22

Related courses

  • Wrangle your terminal with tmux thumbnailUpdated 3y ago

    Wrangle your terminal with tmux

    By: egghead.io
    Learn to manage your terminal sessions and work more effectively from the command line using tmux. If you use the command line at all, tmux can make your life e
    27 minutes 13 seconds

Frequently asked questions

What is Bash Scripting: Learn Shell Scripting about?
Learn Bash Scripting from scratch, from an industry expert. You'll learn Shell Scripting fundamentals, master the command line, and get the practice and experience you need to go from beginner to being able to get hired as a DevOps…
Who teaches Bash Scripting: Learn Shell Scripting?
Bash Scripting: Learn Shell Scripting is taught by Zero To Mastery. You can find more courses by this instructor on the corresponding source page.
How long is Bash Scripting: Learn Shell Scripting?
Bash Scripting: Learn Shell Scripting contains 87 lessons with a total runtime of 9 hours 38 minutes. All lessons are available to watch online at your own pace.
Is Bash Scripting: Learn Shell Scripting free to watch?
Bash Scripting: Learn Shell Scripting is part of CourseFlix's premium catalog. A CourseFlix subscription unlocks the full video player; the course description, table of contents, and preview information are available to everyone.
Where can I watch Bash Scripting: Learn Shell Scripting online?
Bash Scripting: Learn Shell Scripting is available to watch online on CourseFlix at https://courseflix.net/course/bash-scripting-learn-shell-scripting. The page hosts every lesson with the integrated video player; no download is required.