#processes

1 article tagged “processes”.

A process tree: a shell forks a child, the child execs a new program, exits, and is reaped by its parent
LinuxAdvanced

Linux Processes Under the Hood: fork, exec, Signals and Zombies

What really happens when you run a command: fork and exec, exit codes and wait, how signals stop programs (and how to shut down gracefully), why zombies appear, and why PID 1 in a container ignores your Ctrl+C.

8 min read