Skip to main content

Master the Linux Command-Line & Bash Scripting

7h 56m 19s
English
Paid

This course is a comprehensive immersion into the command-line of Linux and other UNIX-like systems. We'll learn the most popular shell tools and introduce concepts of Operating System theory that became popular with the UNIX OS.

We'll also discuss other important development tools that we can use with Linux, and learn how to write shell scripts that can be used to to automate system tasks.

The tools you'll need

You'll need either a Virtual Machine to install Linux or a physical machine that can be partitioned to run a Linux distribution natively.

We'll use a lightweight Linux distribution called Lubuntu and the Oracle VirtualBox Virtual Machine. All tools are cross-platform, so you can follow along on either Windows or macOS.

Is this course for you?

This course has no prerequisites and it's designed to be as beginner-friendly as possible. We'll start by understanding the history and the evolution of UNIX-like systems, and proceed to cover the most popular tools of the Linux command-line.

We will also try to be as portable as possible. All the commands we'll learn should work with any Linux distribution and any other UNIX-like system (OpenBSD, FreeBSD, and macOS).

This course was designed with programmers in mind. Therefore, we will not be covering advanced Linux tools for networking, infrastructure, or system administration.

About the Author: Gustavo Pezzi

Gustavo Pezzi thumbnail
Gustavo Pezzi is a university lecturer in London, UK. He has won multiple education awards as a teacher and is also the founder of pikuma.com. Gustavo teaches fundamentals of computer science and mathematics; his academic path includes institutions such as Pittsburg State University, City University of London, and University of Oxford.

Watch Online 58 lessons

This is a demo lesson (10:00 remaining)

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

View Pricing
0:00
/
#1: Motivations and Learning Outcomes
All Course Lessons (58)
#Lesson TitleDurationAccess
1
Motivations and Learning Outcomes Demo
09:10
2
How to Take this Course
02:59
3
Do All Computers Need an Operating System?
19:48
4
The Evolution of UNIX
17:14
5
The Birth of Linux
18:59
6
Downloading Linux
03:45
7
Installing Linux
03:54
8
System Login
01:03
9
Navigating Files and Directories
11:12
10
Hidden Files
07:34
11
Viewing Contents of a Text File
04:11
12
Editing Text Files
08:43
13
File Globbing and Wildcards
05:57
14
Copying and Moving Files
07:11
15
Working With the Space Character
03:01
16
Removing Files and Folders
03:44
17
Putting It All Together
09:55
18
The Root Folder
01:52
19
Important System Folders
21:15
20
Working With Different Shell Options
08:12
21
Working With Find and Grep
08:17
22
Visualizing Operating System Processes
09:01
23
Killing Processes
06:37
24
Output Redirection
08:59
25
Input Redirection
03:01
26
The Pipe Operator
13:33
27
UNIX Common Ground
03:38
28
Adding Users
06:17
29
File Permissions
11:09
30
Executing Files
03:43
31
Environment Variables
05:04
32
Visualizing Environment Variables
01:31
33
RC Files
04:23
34
Working With a Package Manager
09:58
35
Popular UNIX Text Editors
15:12
36
Understanding System Calls
11:46
37
Popular Shell Utilities
04:16
38
What Is a Shell Script?
06:57
39
Writing and Executing Shell Scripts
07:19
40
Working With Variables
10:01
41
Numerical Expressions
01:30
42
Script Special Variables
07:31
43
Tests and Conditional Statements
11:58
44
Example of String Test
13:52
45
For Loops
07:08
46
While Loops
07:33
47
Secure Shell and Daemons
08:53
48
Scheduling Tasks with Cron
06:24
49
Awk and Sed
13:35
50
Checking Filesystem Available Space
10:58
51
Functions
08:38
52
Linux Development Tools
05:14
53
Compiling with GCC
09:21
54
Debugging with GDB
10:36
55
Building with Make
15:54
56
Installing from Source
06:58
57
Popular Scripting Languages
05:05
58
Conclusion and Next Steps
04:50
Unlock unlimited learning

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

Learn more about subscription