Every process has a parent. Meet PID 1.
In this interactive Linux lesson from Stencel Academy you don't just read — you type real commands like pstree, ps -ef and watch the machine respond on a live, animated map. It is part of the free How Linux Works course.
Builds on: From Program to Process.
pgrep bash — Find PIDs by name.ps -o pid,ppid,comm — Pick exactly the columns you want.pstree -p — Same tree, with PIDs attached.