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.
Builds on: The Process Tree, fork() & exec().
lsns — List every namespace — note the fresh inode.readlink /proc/self/ns/net — A namespace is just an inode id.nsenter -t 2208 -n ip addr — Step into another process's namespace.cat /proc/self/uid_map — The user namespace maps container-root to an unprivileged host UID.