MODULE 14 – Practical exercises and corrections
Course GitHub Repository
Direct access to the repository
This companion GitHub repository contains all the practical exercises of the course, organized by module. It notably includes the corrections for Module 13 assessments and additional exercises for each covered topic.
Repository Structure
travaux-pratiques-linux/
│
├── module-01/ Introduction to Linux (15 exercises)
├── module-02/ System Architecture (15 exercises)
├── module-03/ File System
├── module-04/ Process Management
├── module-05/ Users and Permissions
├── module-06/ Shell Scripting
├── module-07/ Network and Configuration
├── module-08/ Services and Daemons
├── module-09/ System Security
├── module-10/ Package Management
├── module-11/ Monitoring and Logs
├── module-12/ Advanced Administration
│
├── scripts/ Utility scripts
├── INSTRUCTIONS.md Usage guide
└── README.md
Content by module
| Module | Theme | Content |
|---|---|---|
| module-01 | Introduction to Linux | 15 exercises (beginner → advanced) |
| module-02 | System Architecture | 15 interactive exercises |
| module-03 | File System | Progressive practical exercises |
| module-04 | Process Management | Progressive practical exercises |
| module-05 | Users and Permissions | Progressive practical exercises |
| module-06 | Shell Scripting | Progressive practical exercises |
| module-07 | Network and Configuration | Progressive practical exercises |
| module-08 | Services and Daemons | Progressive practical exercises |
| module-09 | System Security | Progressive practical exercises |
| module-10 | Package Management | Progressive practical exercises |
| module-11 | Monitoring and Logs | Progressive practical exercises |
| module-12 | Advanced Administration | Progressive practical exercises |
Exercises and corrections – from Module 13
The repository contains additional exercises and corrections from module 13 and beyond (modules 14, 15, etc.). To view all available content:
👉 See all exercises and corrections on GitHub
Quick start with GitHub Codespaces
1. Launch the environment
- Go to the GitHub repository
- Click on the green "Code" button at the top of the page
- Select the "Codespaces" tab
- Click on "Create codespace on main"
- Wait 2-3 minutes for the environment to set up
2. Understand the interface
+=========================================================================+
| EXPLORER | EDITOR (README) | |
| (files) | Read the instructions here | |
| | | |
| > module-01/ | # Module 1 | |
| > module-02/ | ## Exercise 1 | |
| README.md | Type: echo "hello" | |
+-----------------+------------------------------+--------------------+
| TERMINAL – Type your Linux commands here |
| vscode@codespace:~$ echo "hello" |
| hello |
+=========================================================================+
3. Workflow
- LEFT: Click on a module folder (e.g.,
module-01) thenREADME.md - CENTER: Read the exercises (Ctrl+Shift+V for Markdown Preview)
- BOTTOM: Type commands in the terminal
4. Useful commands
# Go to the module exercises folder
cd module-01/exercices
# See where you are
pwd
# List files
ls -la
# Help on a command
man ls
# or
ls --help
Instructions for students
Step 1 – Fork the repository (once only)
Go to the GitHub repository and click on "Fork" at the top right to have your own copy.
Step 2 – Open Codespaces on your fork
On your fork, click on Code → Codespaces → Create codespace.
Step 3 – Work on the exercises
# Go to the desired module exercises folder
cd module-05/exercices
# Complete the exercises
# Create your files and scripts here
Step 4 – Save your work (MANDATORY)
Important
Without this step, the teacher will NOT see your work!
# Return to the root of the repository
cd /workspaces/travaux-pratiques-linux
# Save on GitHub
git add .
git commit -m "Module 05 completed"
git push
Step 5 – Check on GitHub
Go to your fork on GitHub and check that your files are visible.
Exercise format
Each exercise contains:
| Section | Description |
|---|---|
| Objective | What you will learn |
| Tasks | Steps to complete |
| Hint | Help if you are stuck |
| Solution | Complete solution (spoiler) |
| Validation | How to verify your work |
Difficulty levels
- [Beginner]: Basic concepts
- [Intermediate]: Practical application
- [Advanced]: Complete projects
Useful resources
- 📘 Linux Journey – Interactive tutorial
- 🔍 Explainshell – Explains commands
- 📄 TLDR Pages – Simplified documentation
- 📚 Course documentation (this site)
Module created on: February 2025