1.2. Definition and Function of a Shell
The shell is a special program used as an interface between the user and the heart of the operating system, a program called the kernel, as shown in Figure 1.1. The kernel is loaded into memory at boot time, and manages the system until shutdown. It creates and controls processes, manages memory, file systems, communications, and so forth. All other programs, including shell programs, reside on the disk. The kernel loads programs from the disk into memory, executes them, and cleans up the system when they terminate. The shell is a utility program that starts up when you log on. It allows users to interact with the kernel by interpreting commands that are typed either at the command line or in a script file. ...
Get Linux Shells by Example 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.