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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.