DevOps in Linux — fork() System Call

<h1>How to Create a New Process?</h1> <p>The system call for creating a process is called &ldquo;fork&rdquo;. Why would starting a new process be called &ldquo;fork&rdquo;? In Linux, to create a new process, an existing &ldquo;<strong>parent process</strong>&rdquo; must invoke the&nbsp;<code>fork()</code>&nbsp;system call (<a href="https://github.com/torvalds/linux/blob/master/kernel/fork.c" rel="noopener ugc nofollow" target="_blank">https://github.com/torvalds/linux/blob/master/kernel/fork.c</a>), resulting in a new &quot;<strong>child process</strong>&quot;.</p> <p>Think of it like executing a project based on a well-laid-out plan. Suppose you are midway through carrying out this project when you receive instructions to kick off a new one.</p> <p>How should you proceed? Running a project involves multiple complexities and necessitates contributions from various departments within an organization. For example, you&rsquo;d need the project management department to set up Jira and Wiki platforms, and a facilities team to allocate meeting spaces, among other tasks.</p> <p><a href="https://tonylixu.medium.com/devops-in-linux-fork-system-call-e3bbbd6cf5a9"><strong>Learn More</strong></a></p>
Tags: System Call