Linux troubleshooting labs on a live machine
A full disk, a service that will not start, a script that fails only from cron, a permission error that sudo does not fix: this is the everyday work of running Linux servers, and the base of every DevOps and Kubernetes job.
Each lab below opens a real Linux machine in your browser (Ubuntu, or Rocky Linux 9 for the RHCSA labs) with one thing wrong. You get the symptom, a terminal with sudo, and nothing else. Find the cause with the usual tools (df, du, systemctl, journalctl, ls -l, ss, ps) and fix it; the grader checks the machine's final state. It is good practice for the LFCS, RHCSA and Linux+ as well as for on-call work.
Mock exams
Timed Linux administration mocks.
40 of 122 labs
See all 122Easy
- Find Files by Name, Size and Age 6 min
- Hard Links and Symbolic Links 4 min
- Restore One File from a Backup Archive 5 min
- Create a Clean Backup Archive 5 min
- Set an Exact File Mode 3 min
- Fix "Permission denied" on Service Data 6 min
- Create a User Account 5 min
- Stop a Process That Ignores SIGTERM 5 min
- Extract Error Lines from a Log 3 min
- Find Every Config That Uses a Setting 4 min
- Edit a Config File in Place with sed 5 min
- Schedule a Nightly Cron Job 5 min
- Find What Is Filling the Disk 4 min
- Pin a Hostname with /etc/hosts 3 min
Medium
- Offboard a Departing Engineer 7 min
- Switch the Current Release 5 min
- Point dnf at the Offline Repositories 7 min
- Open One Port, Close an Unused Service 6 min
- Create an Account With Password Ageing 7 min
- Let an Operators Group Run Everything Without a Password 6 min
- Pull the Errors from an Incident Window 6 min
- Lock Down a Service Account 9 min
- Find Why a Service Won't Start 7 min
- Reload a Daemon Without Restarting It 7 min
- Three Scripts That Won't Start 8 min
- Delete Exactly the Files on the List 7 min
- A Shared Folder Where Nobody Deletes Others' Files 6 min
Hard
- Clear a Zombie Process Leak 8 min
- Disk Full, but the File Is Gone 8 min
- Something Is Filling the Disk 10 min
- Sandbox a Service With systemd 10 min
- Kernel Settings That Survive a Reboot 10 min
- The Cron Jobs That Never Ran 10 min
- Which sshd Setting Actually Wins? 10 min
- New Files the Whole Team Can Edit 9 min
- Combined: The Cron Job That Works When I Run It 12 min
- Combined: The sudo Rule That sudo Ignores 10 min
- Combined: A Team Folder Where Nobody Can Edit Anything 12 min
- Combined: The Process That Keeps Coming Back 10 min
- Combined: The ACL Says rw, and Writing Still Fails 10 min
Guides
- sudo echo >> /etc/hosts: Permission denied. Why sudo didn't help
sudo runs the command as root, but the >> redirect is done by your own shell, before sudo starts. Here's why, and the three correct ways to write the file.
- No space left on device: find what is filling the disk on Linux
Which filesystem is full, which directory is growing, which files are biggest, and the space a deleted file still holds. Five commands, with real output.