Process Forking
Forking creates a child process that duplicates the parent’s context.
Display process tree
Input:
pstree -p
Output:
systemd(1)─┬─sshd(802)─┬─sshd(900)──bash(901)
│ └─sshd(910)──bash(911)
Shows parent-child relationships.
References: