

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Welcome to Learn Linux
incomplete
2: What Is a Terminal?
incomplete
3: What Is a Shell?
incomplete
4: Command Line vs. GUI
incomplete
5: Variables
incomplete
6: History
incomplete
7: Navigate History
incomplete
This lesson's interactive features are locked, please to keep using them
In other Boot.dev courses you may have run your code by clicking a "Run" button. But as a realâ„¢ developer, you'll likely run your code using a command line interface (CLI) instead. For example, in Python, you would run a Python code file like this:
python main.py
You'll often hear the terms "terminal," "shell," "command line," "CLI," and "command prompt" used interchangeably (despite some technical differences) to refer to the same thing: a program that allows you to interact with your computer in a text-based way.
If you don't have a technical background, you're probably used to interacting with your phone or computer using a graphical user interface (GUI). When you use a mouse to click on fancy icons, buttons, and menus, you're using a GUI.
Click to play video
To be fair, it's usually easier to teach people to use a GUI than a CLI. You can simply point to things and say "click here" or "drag this there." But GUIs do have some drawbacks:
The whoami command is about as simple as commands get: it prints the username of the user you're currently logged in as.
Answer the question.