AlgoPlus//structures / linux-commands
Read the theory

Linux Commands

A shell session and the Filesystem Hierarchy it walks through.

cwd
Step
1/1
Legend
Active directory
Prompt
Output
AI Tutor Workspace
In a nutshell
On Linux you drive the machine by typing small commands into the shell — ls to list, cd to move, cat to show a file, mkdir to make a folder, chmod to change permissions. There are no drive letters: everything lives in one tree starting at /, laid out by a standard called the FHS. Each command is just a little program that asks the kernel to do the work through system calls.
Ready
Press play to begin the cinematic walkthrough.
The shell is a thin layer over the kernel: small composable commands (ls, cd, cat, mkdir, chmod) each make system calls, all operating on one unified filesystem tree rooted at /.
Key terms
Go deeper in the lesson
Read the full theory, intuition & complexity for Linux Commands.