Introducing process basics

A running instance of a program is called a process. A program stored in the hard disk or pen drive is not a process. When that stored program starts executing, then we say that process has been created and is running.

Let's very briefly understand the Linux operating system boot-up sequence:

  1. In PCs, initially, the BIOS chip initializes system hardware, such as PCI bus, and display device drivers.
  2. Then the BIOS executes the boot loader program.
  1. The boot loader program then copies the kernel in the memory and, after basic checks, it calls a kernel function start_kernel().
  2. The kernel then initializes the OS and creates the first process called init.
  3. You can check the presence of this process with the following ...

Get Learning Linux Shell Scripting - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.