Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Human-Computer Interfaces (HCI)

  • The two primary types of interface provided by an operating system are the Command Line Interface (CLI) and the Graphical User Interface (GUI).

GUI vs. CLI direct comparison

Interface typeDescriptionAdvantagesDisadvantages
Command Line Interface (CLI)User interacts with the system strictly by typing text-based commands into a prompt.Direct communication with computer core, not restricted to predefined menu options, can alter deep system configurations, uses very little RAM and processing power.Must memorize commands exactly, high risk of syntax or spelling errors causing failures, slow and frustrating for beginners to master.
Graphical user interface (GUI)User interacts visually using a WIMP structure (Windows, Icons, Menus, Pointing device).Very user-friendly, no need to memorize commands, simple window-management structures for visual multitasking.Consumers more RAM and storage space, strictly limited to the visual options and icons provided on screen.
  • Modern systems such as smartphones and tablets rely on touch-driven interfaces rather than traditional pointing mice. These intterfaces interpret gesture inputs like pinching, swiping, and rotating.