Linux Fundamentals
Go from your first terminal command to running a secure web server: manage files, users, permissions, processes, packages, services and logs on Ubuntu, connect over SSH, and serve sites with Nginx.
Modules
19
Lessons
144
Video
14 h 58 min
Level
Beginner
Project
Reviewed by a mentor
About This Course
Almost everything in DevOps runs on Linux: servers, containers, Kubernetes nodes and CI runners. This course takes you from never having opened a terminal to running and securing a real web server, using only the command line. It is the longest course in the path because every later course depends on it.
You'll Be Able To
- Work confidently on a Linux server using only the terminal.
- Manage files, users, permissions, processes, packages and services.
- Read logs and system metrics to find out why something is broken or slow.
- Connect to and manage servers securely over SSH.
- Serve websites with Nginx on a hardened server.
What's Inside
- 1
Introduction to Linux
5 lessons · 43 min
Explain what Linux really is (a kernel inside a distribution), where it came from, which distributions you'll meet at work, and where it runs, from cloud servers to phones.
- 2
Setting up your Linux environment
7 lessons · 37 min
Choose how to run Linux on your Windows or Mac computer (WSL 2 or a virtual machine), use snapshots to undo mistakes, connect VS Code and give Ubuntu its first update.
- 3
The shell
8 lessons · 48 min
Work confidently in the Linux shell: read the prompt, build commands from options and arguments, find help, move faster with history and shortcuts, and save your own variables and aliases.
- 4
The filesystem
13 lessons · 1 h 16 min
Find your way around the Linux filesystem from the terminal: read paths, move between folders, and create, copy, move, delete, link and archive files without nasty surprises.
- 5
Editing files in the terminal
5 lessons · 30 min
Edit files right in the terminal, as you must on a server: get jobs done quickly in nano, get in and out of vim with confidence, and change system files without breaking them.
- 6
Reading and processing text
10 lessons · 1 h 10 min
Read, search and reshape text from the terminal: page through logs, count and rank lines, find patterns with grep and regular expressions, edit with sed, sum columns with awk and compare files.
- 7
Streams, redirection and pipes
7 lessons · 37 min
Control where every command's output goes: save results to files, keep errors apart or throw them away, and chain small commands into one-liners with pipes, tee and xargs.
- 8
Finding things
4 lessons · 24 min
Find any file by name, type, size or age, act on every match safely, search inside whole folders of files, and work out where a command really lives.
- 9
Users and groups
7 lessons · 27 min
Manage who can do what on a Linux server: create users and groups, read the account files, give out limited admin rights with sudo, and set up access for a small team.
- 10
Permissions and ownership
8 lessons · 52 min
Read and fix Linux permissions with confidence: understand read, write and execute, change them with chmod, chown and umask, and set up safe shared folders without chmod 777.
- 11
Processes
7 lessons · 46 min
See every process running on a Linux system, run jobs in the background, stop misbehaving processes safely with signals, and lower the priority of work that can wait.
- 12
Installing software
6 lessons · 33 min
Install, update and remove software with apt, find which package owns a file, add a vendor's signed repository, and install a tool by hand after verifying its checksum.
- 13
Services, systemd and logs
9 lessons · 54 min
Run programs as systemd services that start at boot and recover from crashes, write your own unit files, and find answers in journalctl and /var/log while logrotate keeps logs in check.
- 14
Disks and storage
7 lessons · 51 min
See how Linux organises disks, partitions and filesystems, mount new storage, and fix a server that says "No space left on device", whether space or inodes ran out.
- 15
System resources and performance
7 lessons · 43 min
Read a Linux server's vital signs: CPU load, memory, swap and disk activity. Tell which resource is running out, name the program responsible, and back it up with evidence.
- 16
Networking from the command line
6 lessons · 41 min
Find your machine's IP addresses and routes, see how names become addresses, test connections with ping and curl, and check which programs are listening on which ports.
- 17
Remote access with SSH
8 lessons · 49 min
Log in to servers safely with SSH: check host keys, replace passwords with your own key pair, shorten long commands with a config file, and copy files with scp and rsync.
- 18
Web servers with Nginx
12 lessons · 1 h 19 min
Install and configure Nginx: serve static sites, host several sites on one server, put Nginx in front of an app as a reverse proxy, and use its logs to find out what went wrong.
- 19
Securing a server
8 lessons · 58 min
Lock down a Linux server: a limited deploy user, key-only SSH with no root login, a default-deny firewall, fail2ban, automatic security updates and a check of open ports.