00:01
So, in the unix -like operating system, the process of loading a shell and the other processes into memory involves several steps.
00:08
So, first step is bootstrapping.
00:10
When the computer is powered on or restarted, the bios, basic input output system and uefi unified extensible firmware interface loads the operating system kernel into the memory.
00:25
And the kernel is the core of the operating system responsible for managing hardware resources and providing essential services.
00:32
Next point is kernel initialization.
00:34
So, once kernel is in memory, it initializes various subsystems and device drivers.
00:40
Next, the kernel sets up the initial data structure and prepares the system for the user process.
00:47
Next is init process.
00:50
So, in this, it is typically first user space process started by kernel and it has a process id1 and serves as an answer of all the other processes.
01:05
Next is shell initialization.
01:07
So, after the init process, a shell is started and the shell is the command line interpreter that allows user to interact with the operating system.
01:16
Next is user process.
01:18
So, when a user logs in or starts a new terminal session, the shell creates a new process to handle the other commands and each process has its own address space which includes code, data and stack segments...