Stencel AcademyHow Linux Works →
Part 4 · Lesson 18 · Expert

Namespaces

Wrap a process so it sees its own world.

In this interactive Linux lesson from Stencel Academy you don't just read — you type real commands like unshare --pid --net --mnt --uts bash, ps, hostname, ip addr and watch the machine respond on a live, animated map. It is part of the free How Linux Works course.

Key takeaway: Namespaces don't move a process — they change what it can see. Same kernel, different worlds.

Before this lesson

Builds on: The Process Tree, fork() & exec().

What you'll practise

Terms you'll learn

namespaceunsharePID namespaceUTSisolation

Check your understanding

What did the namespaces actually change about the process?
Open the interactive lesson →