Skip to main content

MODULE 14 – Practical exercises and corrections

Course GitHub 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​

ModuleThemeContent
module-01Introduction to Linux15 exercises (beginner → advanced)
module-02System Architecture15 interactive exercises
module-03File SystemProgressive practical exercises
module-04Process ManagementProgressive practical exercises
module-05Users and PermissionsProgressive practical exercises
module-06Shell ScriptingProgressive practical exercises
module-07Network and ConfigurationProgressive practical exercises
module-08Services and DaemonsProgressive practical exercises
module-09System SecurityProgressive practical exercises
module-10Package ManagementProgressive practical exercises
module-11Monitoring and LogsProgressive practical exercises
module-12Advanced AdministrationProgressive 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​

  1. Go to the GitHub repository
  2. Click on the green "Code" button at the top of the page
  3. Select the "Codespaces" tab
  4. Click on "Create codespace on main"
  5. 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​

  1. LEFT: Click on a module folder (e.g., module-01) then README.md
  2. CENTER: Read the exercises (Ctrl+Shift+V for Markdown Preview)
  3. 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:

SectionDescription
ObjectiveWhat you will learn
TasksSteps to complete
HintHelp if you are stuck
SolutionComplete solution (spoiler)
ValidationHow to verify your work

Difficulty levels​

  • [Beginner]: Basic concepts
  • [Intermediate]: Practical application
  • [Advanced]: Complete projects

Useful resources​


Module created on: February 2025