TechKnowSurge
CompTIA Tech+ 3.1 CompTIA A+ Core 2 1.2
InteractiveComputeFree

GUI or CLI?

One way of working with an operating system at a time: is it a graphical user interface or a command line? Land five in a row.

⚑ Complete this interactive to capture a CTF flag worth 5 points.

About this interactive

The OS Interfaces lesson names the two ways people work with an operating system. A graphical user interface, GUI, pronounced "gooey", is what most systems show you today: folder icons that stand for directories, windows you drag and resize, menus you click or tap. Windows has been mainly a GUI since Windows 95, and the Raspberry Pi desktop and an iPhone screen are GUIs too. A command-line interface, CLI, is a console or terminal where you type text commands and the computer answers in text. At the Windows command prompt, dir lists what is in a folder and cd Desktop changes into the Desktop folder; the same commands work in the Raspberry Pi terminal, and the files they show are the same ones you see as icons in the GUI. MS-DOS worked this way, and so does the text interface on a Cisco switch, where you type commands like show ip interface brief. The test is not which device your hands are on. You can move through a list of icons with the arrow keys, or type a search into the Start menu, and still be in a GUI, because you are working with graphics. You are in a CLI when the way you get things done is by typing commands.

What you'll learn

Aligned to

CompTIA Tech+
3.1 Explain the purpose of operating systems.
CompTIA A+ Core 2
1.2 Given a scenario, use the appropriate Microsoft command-line tool.

Key terms

Graphical User Interface
GUI
A visual interface that allows users to interact with a computer or application through graphical elements such as windows, icons, buttons, and menus rather than text-only commands. Most modern operating systems use a GUI as the primary user interface.
Command Line Interface
CLI
A text-based interface where users interact with an operating system or application by typing commands; it offers precise control and scriptability compared to graphical interfaces.
Command Prompt
CMD
The Windows command-line interpreter that provides a text-based interface for executing commands, running scripts, and managing the operating system without a graphical interface. CMD is used for tasks such as file management, network diagnostics, and system configuration.
Terminal
An input/output device with a keyboard and screen that sends keystrokes to a mainframe for processing and displays the results, containing no processing unit of its own.

Topics

Operating System User Interface Interactive Streak Sort

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →