Interactive tutorial

How Linux Works: An Upside-Down Tree

As biomedical researchers, we often run analyses on Linux, whether on a high-performance computing (HPC) cluster or in the cloud. I created this tutorial to make Linux more approachable by connecting its underlying structure to the commands and applications we use in our research.

The tutorial uses an upside-down tree as a visual metaphor: the roots represent the hardware, the trunk the kernel, the branches the system services and tools, and the leaves the applications we use. Together, these layers offer a simplified view of how the system fits together.

Click any part of the tree to explore its role, or follow a task as it moves through the layers. New to the terminal? Begin with the story, which follows a researcher through a day of real work at the command line.

Level: introductory and conceptual, for researchers new to Linux. After this tutorial you should be able to explain how a command travels from the shell through the kernel to the hardware and back; read paths, permissions and common error messages and place them on the tree; and recognize where research tools such as Python environments, SSH, Slurm and containers fit. It is not a hands-on course: Where to go next lists the following steps.

Development note: I used Claude Code to translate my ideas and technical knowledge into the interactive diagram and accompanying stories. Feedback on clarity, accuracy and usability is welcome.

Follow a real task:

Branches group related parts of the system; they are not required execution paths. Applications, tools, services and libraries can interact across groups, and each reaches the kernel through system calls.

Swipe sideways inside the diagram to see the whole tree. It scrolls to follow each animation step.