TLDR Web Dev · MISCELLANEOUS

HOW DOES LINUX START A PROCESS?

links.tldrnewsletter.com8 min read

Summary from the TLDR Web Dev newsletter

Linux starts a process first by calling the execve() system call, which provides the kernel with a path to the executable file. The kernel then prepares the new process and maps its relevant sections into memory. Then, control is passed to the program, and execution is started.