Practice Labs

Interactive exercises that teach you Linux by doing. Every lab runs in your browser — no installation, no risk, no virtual machine needed.

🐧 Open LinuxSim and start

🌱 Beginner

Lab 1 · Terminal Explorer

difficulty: beginner

Your first Linux adventure. Navigate the filesystem using only the terminal. Find your home directory, check today's date, and look up the manual page for a command you've never used before. By the end you'll feel comfortable moving around a Linux system.

You'll practice: pwd, cd, ls, date, whoami, man

Lab 2 · Filesystem Scavenger Hunt

difficulty: beginner

A treasure hunt across the Linux filesystem. Find four specific files without being told where they are: the one listing all user accounts, the one controlling DNS resolution, your CPU information, and the system hostname. Teaches you to navigate with purpose and to know where real Linux systems keep their config.

You'll practice: find, grep, cat, /etc knowledge, /proc filesystem

Lab 3 · File Operations Bootcamp

difficulty: beginner

Build a real project structure from scratch. Create a directory called project, make subdirectories for src, docs, and tests, drop some sample files in each, then copy the whole structure to a backup folder. Tests your understanding of the core file management commands.

You'll practice: mkdir, touch, cp -r, mv, tree

🔧 Intermediate

Lab 4 · Permission Lockdown

difficulty: intermediate

Create a shared project directory with layered access. The owner gets full control, group members can read and execute but not write, and everyone else is locked out completely. You'll learn octal permission notation (755, 750, 700) by doing it by hand.

You'll practice: chmod, chown, ls -l, octal notation

Lab 5 · Config File Editor

difficulty: intermediate

Create a shell script with nano, run it, then reopen the same file in vim and add a new line. This lab teaches you both major Linux editors side by side so you'll be comfortable using either one on any system you log into.

You'll practice: nano, vim, chmod +x, running shell scripts

Lab 6 · Log Detective

difficulty: intermediate

You're handed a mystery. Someone's messing with the system, and the evidence is scattered across several log files in /var/log. Use grep, tail, sort, and uniq to find how many failed login attempts there are, which user is being targeted, and when the activity started.

You'll practice: grep, tail -f, sort, uniq -c, log file analysis

🎯 Advanced

Lab 7 · Shell Scripting Basics

difficulty: advanced

Write your first real shell script — one that takes an argument, checks if it's a directory, and prints a summary of what's inside. Introduces variables, conditionals, and command substitution.

You'll practice: shebang line, $1, if/fi, $(...), echo

Lab 8 · Process Hunter

difficulty: advanced

A runaway process is eating your CPU. Find it using top, read its PID, and kill it. Learn the difference between a polite kill and a force kill -9. Practice reading process lists and filtering them with ps aux | grep.

You'll practice: top, ps aux, kill, kill -9, process signals


All 22+ labs available in the full course

LinuxSim labs are drawn from the Linux Essentials: From Zero to System Administrator course at Apex Online Academy. The full course has 22 modules with 66 lessons and detailed lab instructions for every one — from your first ls to setting up a web server.

Start the Linux Essentials course →