TechKnowSurge
CompTIA Tech+ 3.2 CompTIA A+ Core 2 1.8 CompTIA A+ Core 2 1.2 Cisco CCST IT 4.1
VideoComputeFree

OS Interfaces

Operating systems present two types of user interfaces: the graphical user interface (GUI) and the command-line interface. Understanding both is fundamental to working effectively with any computer system.

Complete this video to capture a CTF flag worth 1 point.

About this video

An operating system acts as the layer between a user and a computer's hardware, and the way that layer presents itself is called the interface. There are two fundamental types: the graphical user interface (GUI) and the command-line interface (CLI). A GUI represents files, folders, and applications as visual icons that users navigate with a mouse or touchscreen. Windows has operated primarily as a GUI environment since Windows 95, and Linux-based systems such as Raspberry Pi offer similar graphical environments, though their appearance varies by distribution. The command-line interface provides an alternative way to interact with the same underlying file system using only text-based commands entered through a terminal or console window. On Windows, this is accessible through the Command Prompt, while Linux systems use a terminal application. Commands such as dir to list directory contents and cd to change directories allow users to navigate and manage files with the same effectiveness as a GUI, but without any graphical elements. Proficiency with both interface types is a foundational skill in IT and cybersecurity, as many administrative, diagnostic, and security tasks are performed exclusively through the command line.

What you'll learn

What's covered

Operating System Interfaces

Aligned to

CompTIA Tech+
3.2 Compare and contrast components of an operating system.
CompTIA A+ Core 2
1.8 Explain common OS types and their purposes.
1.2 Given a scenario, use the appropriate Microsoft command-line tool.
Cisco CCST IT
4.1 Assist users in resolving Windows OS issues

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.
Operating System
OS
System software that manages hardware resources, provides common services for application software, and acts as an intermediary between users and computer hardware. Examples include Windows, macOS, and Linux.

Topics

Operating Systems Graphical User Interface Command Line Interface Os Interfaces User Interfaces

Transcript

When we're working on a computer, we're working with that hardware through an operating system. That operating system is called an interface. The interface is what's being presented to us and what we're interacting with. That interface looks different depending on what operating system you're using, and there's two types of interfaces.

The Two Types of Interfaces

When you're on your computer, you're probably using some sort of mouse or touching the screen to move around and interact with it, and what we're interacting with is graphics. For instance, a file or folder: you're touching an icon, and the icon is a folder and it's representing some sort of directory, or it's some sort of file icon and you're interacting with that. What we call that is a graphical user interface. It's an interface that you as a user, you're the user, and you're interacting with graphics on your computer, and so we call it a graphical user interface, or really we call it GUI for short. Even though it's GUI, we pronounce that gooey.

So you're interacting with a GUI on most of your systems nowadays, but that's not always the way it's been. We also have another system that we could interact with, and that is a console, command line, terminal, that we interact with using our keyboards, primarily through our keyboards, and with text. So those are the two different systems that are out there.

A Windows System

Here I'm on a Windows system, and this is a little bit older of a Windows system, but it will still work for our demo here. Really, Windows systems have been primarily GUI since 1995. They came out with Windows 95, and that's when they primarily were GUI interaction rather than having any sort of command line.

So we are on a Windows machine, and what I see here is folder icons. These are representations of a directory, and I open that up and now I can see what's inside of that directory, and these are different programs and they're represented by some sort of icon that's representing each one of these. Most of them are executables. So everything that I'm interacting with is with a mouse and with graphics here. I could use the keyboard and I could scroll through; right now I'm using the up and down arrow keys to scroll through this list right here. But that's not the primary way that I'm interacting with it; really I'm interacting with these graphics.

So if you want to see what Windows looked like before, what we could do is hit this start button right here and type in CMD, and this will open up a command prompt. This command prompt is similar to MS-DOS and the way we interacted with Windows machines before. So what we can do is, here at the demo laptop, I can type in dir and I'll get a directory of what I see here. Maybe I want to get into, let's say, the desktop, so I'm going to do CD desktop. CD stands for change directory, so I'm going to do CD desktop and hit enter, and now I'm in the desktop. I've hit dir, and now I see this Sysinternals Suite, which is this folder that I see graphically on here, but this is the text based version of this. So through this console right here, through this command prompt window right here, I can actually interact with the same files and folders, but with text based rather than the folder based.

A Raspberry Pi System

Here's another example of a GUI system, this is a graphical user interface. This is Raspberry Pi. Raspberry Pi looks a little different, it's Linux based, and we see something similar to the start button up here, and you can see all my programs are in here. So it has some of the same concepts but looks a little different. And then I've created this test folder, and within the test folder I have a document here. So it's all graphical, I can interact with it with my mouse, and it's all graphical.

But it also has this terminal window here, so I can open up this terminal window, and in this terminal window I'm going to do a dir to see which directories we have in here, and we have the desktop. So I'm going to go CD for change directory and desktop, and I'll hit enter here, and dir in there, and we've got that test folder. So here I can see it graphically, and on the command line I can see the text based version of it. So I'm going to go CD test and then dir, and here we've got that document that's inside of there, which is the same one that I see right here graphically. I see it in this command line. So that's two ways of interacting with it.

So those are the two primary ways we interact with computers. Through a GUI system we interact with graphics; otherwise with something like a console or text based system we're typing out text.

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 →