IT & Cloud free courses

Master the TrickFoundationFree

Linux Troubleshooting Practice

Diagnose basic filesystem, process and service problems using read-only observations before making changes.

3 reading lessons · about 30 min ·written by MTT

The idea

Start with read-only observations to establish where a file is, who owns it and whether the filesystem has space. pwd identifies the working directory, ls -l shows basic ownership and permissions, and df reports filesystem usage. A full filesystem differs from a missing file or denied access. Do not grant broad permissions or delete unfamiliar files simply to make an error disappear.

Worked example

An application reports it cannot write a log. The log directory exists, but its filesystem has no free space. Changing permissions will not solve that cause. In a different case, free space is available but the service user lacks write permission; diagnose that separately and use the narrowest approved permission change.

Try it

Create a paper troubleshooting table for missing path, permission denied and no space left. List one read-only observation for each and the evidence that would distinguish them. Explain why recursively granting everyone write access or deleting arbitrary files would be an unsafe first response.

Lesson 1 of 3 · About 10 min

Check location, permissions and space

Check your understanding

Course quiz

Finish the course to unlock the quiz

Complete all 3 lessons and 5 questions open up here. You have 3 to go.

What you will learn

  • Check paths, ownership and filesystem usage
  • Distinguish a process from a healthy service
  • Record evidence and validate a scoped fix

Before you start

Prerequisites
Basic Linux command-line knowledge. Use a disposable machine or paper exercises, not production systems.
Cost
Free introductory reading lessons, exercises and quiz. Optional third-party tools, hosting or AI subscriptions may cost money.

Original introductory lessons and assessment by Master the Trick. Estimated times include the suggested exercises.