The shell is a software layer that sits between users and the operating system kernel, available as either a command-line interface or a graphical user interface (GUI). On Windows, the graphical shell is Windows Explorer, the program responsible for rendering the desktop environment, taskbar, and file navigation.
The Shell
We don't interact directly with the kernel. Instead, we actually interact with the shell. The shell is software that's placed on top of the kernel, so we can interact through the shell and then operate this kernel, operate this computer.
We can categorize the shell into two different types: it's either a command line, or it's a graphical user interface, or what we call a GUI.
The best way for me to explain what a shell is is just to show you. I'm on a Windows box here — this is a Windows 10 machine — and what I'm going to do is click the Windows button, or the Start button here, and type in task manager and hit enter. The other way to bring this up is just Control+Shift+Escape, and that would bring this up as well.
I'm going to scroll through here and show you that we have Windows Explorer. So here's Windows Explorer right here. That's what gives you this desktop environment right here with these different icons, and gives us the taskbar down here. So we've got all of this that's being represented through this Windows Explorer.
If I were to open up what we call a file explorer — I'm going to open up this File Explorer, and we can see File Explorer here on the top — and if I now look at Windows Explorer, it's going to show me that File Explorer is open in it. So it's part of this Windows Explorer.
Now what I'm going to do is shut this down. I'm going to right-click on this and say End task, and watch what happens: we lose that whole interface that we had. So that's the shell. We've just lost our shell.
Now, to get it back, what I can do is say File, Run new task, and I'm going to type in explorer.exe. This is the program that is the shell. So I'm going to click OK, and now I've got it back, because I've launched that program, and now I'm seeing the icons again and the taskbar. So there you go, there's the shell.
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 →