Exercise 0.0: Opening a Terminal
Your First Step into the Command Line
Purpose
Every journey begins with a single step. For a programmer, one of the first and most important steps is opening the command-line interface (CLI). This tool, often called the terminal, is where you will run commands, manage files, and control the powerful development tools you will use throughout this course. This exercise will guide you through finding and opening the terminal on your specific operating system.
What You’ll Accomplish
By the end of this exercise, you will have successfully:
- Identified and opened the correct terminal application for your operating system.
- Understood the difference between a terminal and a shell.
- Run your very first command and seen its output.
What are Terminals and Shells?
It’s helpful to know two key terms:
- A Terminal is the program you open to get a command-line window. It’s a graphical application that lets you access the shell.
- A Shell is the program inside the terminal that interprets your commands and interacts with the operating system. Common shells are Bash, Zsh, PowerShell, and CMD.
Think of the terminal as the window and the shell as the conversation you have with the computer through that window.
Your Task: Open Your Terminal
Follow the instructions for your operating system below.
On modern Windows, the best tool is the Windows Terminal, which can run several different shells. We will primarily use PowerShell.
- Click the Start button (or press the Windows key).
- Type
Terminal. - Click on the Windows Terminal application to open it.
- If the tab that opens says “Command Prompt” or “CMD”, click the little down-arrow
vin the tab bar and select PowerShell from the dropdown menu.

On macOS, the terminal application is simply called Terminal.
- Press
Cmd + Spacebarto open Spotlight Search. - Type
Terminal. - Press Enter to open the Terminal application.
Alternatively, you can find it in Applications > Utilities > Terminal.app.

Most Linux distributions with a graphical user interface (GUI) have a terminal application readily available.
- Press the Super key (it usually has a Windows logo or is labeled “Start”).
- Type
Terminal. - Click on the Terminal icon to launch it.

Verification: Your First Command
Now that you have a terminal open with a blinking cursor, it’s time to run your first command. This command simply tells the shell to print back whatever you type after it.
Type the following command and press Enter:
echo "Hello, Command Line!"You should see the text Hello, Command Line! printed on the next line. If you see this, you have successfully used the shell!
Reflect and Review
This was your first step. In your Microsoft Teams Student Notebook, on a new page for Milestone 0, answer the following:
- Which operating system are you using?
- Was it easy or difficult to find and open the terminal?
- In your own words, what is the difference between a terminal and a shell?