Home›Linux Tutorial
Free course
Linux Tutorial
Learn Linux and the command line from absolute zero, one small and easy step at a time. No experience needed. Every command runs on a real Ubuntu system, so you see exactly what Linux prints and why.
Course contents
Every lesson has its own page with the explanation, code you can copy, the real output, screenshots from the video, and a link that jumps straight to that moment in the video.
1. What Linux Is
- What Linux Is0:00
- Where Linux Runs1:14
- Linux Distributions2:09
2. The Terminal
3. The Prompt and echo
4. Help and Practice
5. Files and Folders
- The File System Tree13:48
- pwd: Where Am I?15:20
- ls: What Is Here?16:42
6. Moving Around
- cd: Moving Around17:57
- Absolute and Relative Paths19:17
- Special Paths20:37
7. ls Options
- ls Options22:02
- Hidden Files23:30
- Reading ls -l24:56
8. Making Folders and Files
9. Copy, Move, Remove
- cp: Copying30:19
- mv: Moving and Renaming31:33
- rm: Removing Files32:51
10. Folders and Wildcards
- Removing Folders34:12
- Wildcards35:41
- Practice: Tidy Downloads37:15
11. Reading Files
- cat: Reading Files38:29
- head and tail39:52
- less and wc41:08
12. Writing Files
- Writing with Redirection42:35
- Appending with >>43:54
- Editing with nano45:04
13. Finding Files
14. Links and Disk Space
15. grep
16. Pipes and Sorting
- Pipes58:49
- sort and uniq1:00:16
- cut1:01:35
17. Changing Text
- tr: Translating Characters1:02:52
- sed: Find and Replace1:04:06
- awk: Working with Columns1:05:24
18. Errors and Combining
- Redirecting Errors1:06:46
- tee1:08:15
- Combining Commands1:09:12
19. Exit Codes, diff, xargs
- Exit Codes1:10:33
- diff: Comparing Files1:12:03
- xargs1:13:35
20. Patterns and Practice
- Simple Patterns1:14:57
- Practice: A Log Report1:16:26
- Practice: Text Challenge1:17:50
21. Users and Permissions
- Users and Groups1:19:05
- The User List1:20:26
- Permissions Explained1:21:49
22. Changing Permissions
- Reading Permission Strings1:23:10
- chmod with Letters1:24:51
- chmod with Numbers1:26:17
23. Running and Owning
- Running a Script1:27:55
- Ownership with chown1:29:12
- sudo and root1:30:27
24. Managing Users
- Why Not Always Root?1:31:59
- Adding Users1:33:21
- Groups for Teamwork1:34:43
25. Permissions Practice
- Practice: Permission Problems1:36:14
- Default Permissions1:37:37
- Permissions Quiz1:38:59
26. Installing Software
- Package Managers1:41:03
- apt: Installing Software1:42:15
- apt: Search and Remove1:43:33
27. Processes
- Processes1:44:53
- Watching Processes1:46:25
- Background Jobs1:47:46
28. Stopping Processes
- kill: Stopping Processes1:49:08
- Services1:50:42
- Practice: A Runaway Process1:52:10
29. The Environment
- Environment Variables1:53:28
- The PATH Variable1:54:56
- Aliases and .bashrc1:56:16
30. Archives
- Archives with tar1:57:44
- Compressing Files1:59:01
- Practice: A Dated Backup2:00:19
31. Networking Basics
- Networking Basics2:01:41
- Your Network2:02:55
- curl and wget2:04:05
32. SSH
- SSH: Remote Login2:05:27
- SSH Keys2:06:49
- Copying Files Remotely2:08:20
33. Watching the System
- Ports and Listening2:09:51
- System Information2:11:22
- System Logs2:12:35
34. Your First Scripts
- Your First Script2:14:09
- Script Arguments2:15:31
- Reading Input2:16:48
35. Decisions and Loops
- Making Decisions2:18:06
- More Choices2:19:31
- For Loops2:20:43
36. Loops and Functions
- While Loops2:21:57
- Functions2:23:16
- Safer Scripts2:24:29
37. cron and First Projects
- Scheduling with cron2:25:44
- Project: Photo Renamer2:27:18
- Project: Log Report2:28:41
38. More Projects
- Project: Health Check2:29:59
- Project: Nightly Backup2:31:20
- Project: Disk Cleanup2:32:41
39. Troubleshooting and Tricks
- Troubleshooting2:34:06
- Productivity Tricks2:35:38
- Interview Questions: Part 12:36:55
40. Interview, Quiz, and Next Steps
- Interview Questions: Part 22:38:38
- Final Quiz2:40:12
- Course Complete2:42:17