mirror of
https://github.com/ellysh/bash-programming-from-scratch.git
synced 2026-01-26 07:43:42 +00:00
759 B
759 B
Command Interpreter
Interpreters work in two modes: non-interactive and interactive. In the first mode, the interpreter executes a program. The program is loaded from the disk into RAM. Then it is executed line by line.
In interactive mode, the user types a command in the terminal emulator window. After pressing the Enter key, the command is executed. The interactive mode of the interpreter is called command shell or shell.
A command shell is built into the operating system often. It provides access to the settings and functions of the OS. In Linux, the shell allows the following:
- Run programs and system services.
- Control peripherals and internal devices.
- Access the kernel features.