LOGBOOK

HELP

1 / 31
Other keys: showSpace: good1-4: rate0: skip5: flag

Question

What are the three main components of an operating system, and what does each do?

Answer

Shell (the user interface, CLI or GUI), kernel (bridges hardware and software, manages resources), and hardware (the physical electronics).

  1. Shell - The user interface that allows users to request specific tasks from the computer. Requests can be made through CLI or GUI interfaces.

  2. Kernel - Communicates between the hardware and software of a computer and manages how hardware resources are used to meet software requirements.

  3. Hardware - The physical part of a computer including underlying electronics.

Go deeper:

A kernel connects the application software to the hardware of a computer.
A kernel connects the application software to the hardware of a computer.
Bobbo · CC BY-SA 3.0 · Wikimedia Commons
or press any other key

Question

Why are network devices typically accessed through a CLI rather than a GUI?

Answer

Because a GUI can fail, crash, or hide options, while the CLI is lightweight, scriptable, consistent, and works even over slow links — so it is the reliable way to manage network devices.

A GUI is friendlier and needs less knowledge of the underlying command structure, but it depends on more resources and can fail, crash, or simply not expose everything a device can do. The CLI, by contrast:

  • Is lightweight and runs even on low-resource devices
  • Works reliably over slow or unstable remote links
  • Is scriptable and gives consistent, repeatable results
  • Exposes the full command set with direct access to the configuration

For these reasons, network devices are typically managed through the CLI.

Go deeper:

An MS-DOS command line, illustrating parsing into command and arguments
An MS-DOS command line, illustrating parsing into command and arguments
Wtshymanski (talk) · CC BY-SA 3.0 · Wikimedia Commons
or press any other key