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.
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 →