Kolam Ayer MakersLinux Foundations

User Space

Core Idea

User space is where normal programs run: shells, editors, git, curl, Python, Caddy, and your own scripts.

Why It Exists

User-space programs have less privilege than the kernel. They ask the kernel to open files, create processes, allocate memory, and use the network. The kernel enforces permissions and isolation.

Course Examples

ps -u "$USER" -o pid,comm,args | head
which bash
which curl
systemctl --user status site.service

Your systemd user service is a user-space process managed by your user account. It is not a root-managed system service.

User Space Boundaries

Common Confusions

Proof Check

Run ps -u "$USER" -o pid,comm,args | head. Name three user-space processes owned by you.

Docs Pointers