Keep the useful bits, human.
Beginner field notes
- The terminal is the text interface. A shell is the program that interprets commands entered through it.
- The prompt shows where to type. In a tutorial that displays $ pwd, pwd is the command; the displayed $ is not part of it.
- A command can print a result in the terminal. Read that output rather than treating every displayed line as another command.
See a worked example
Identify the parts of a terminal exchange
One reviewed sample, shared across levels. Nothing here runs on your computer.
Example review recorded 2026-10-07 · version 1.
Example prompt: $
Typed command: pwd
Displayed output: /home/learner/human-labThe command is pwd.
The path is output.
The prompt is not part of the command.This labels an illustrative POSIX-shell exchange. It is not a block of commands to paste. A PowerShell or Command Prompt session can look different.
Sources for this sampleWhere does this instruction go?
A Terminal window can show a shell or run Claude Code. Check which program is ready for your input; the window’s name or a single prompt symbol is not enough.
- Ask your coding assistant
- A plain-language request goes in the assistant’s conversation. It can run a command only if that tool and your permission are available.
- Claude Code command
- A Claude Code slash command, such as
/plugin, belongs at the Claude Code prompt. It is not a shell command or a command for every chat website. - Computer terminal · shell prompt
- A shell command belongs in a shell, such as zsh or Bash. On a Mac, use Terminal or an editor’s integrated terminal with a shell ready for input.
Copying does not run anything. Read the instruction’s purpose and destination before entering it. Example output is a result to read, not another command.
Try one read-only step: find the current folder
Choose one route. You do not need to install HWTL or make an account to read these steps.
In this project, use a read-only shell command to show your current working folder and explain the result. Do not change files. If you cannot run a command, tell me. Or, at a Unix-style shell prompt on macOS or Linux:
pwd After entering pwd, press Enter and read the path it prints. Your path will differ from the sample lesson. In PowerShell, use Get-Location instead.
Separate terminal tabs and the assistant’s command tools may use different working folders. Check the location in the session where the next command will run; do not assume they match. A plain chat without command tools can explain the step, but cannot run it for you.
Visual
The reviewed description and complete diagram source are available here.
More of this diagram is available inside its frame. Focus the frame and use the arrow keys to pan.
Read the complete diagram source
This is the source for the reviewed diagram, not a command to run.
flowchart LR
H["You type a command"] --> T["Terminal"]
T --> S["Shell interprets it"]
S --> O["Output returns to terminal"] Full explanation and primary sources
Reviewed explanation
A terminal presents a text interface for entering commands and seeing output. It usually hosts a shell: a program that interprets the command line. The terminal window and the shell are different parts of the setup. Windows Terminal can host PowerShell or Command Prompt; a macOS or Linux terminal can host a shell such as zsh or Bash.
A prompt marks where a shell is ready for your next command. Tutorials sometimes show a symbol such as $ before the command. That symbol is part of the example prompt, not something to copy automatically. Your own prompt may contain a username, folder name, or other text.
Opening a terminal usually starts a shell. Commands shown in a tutorial do not run merely because you opened that window. Read a command’s purpose before entering it, and keep source-code text in its editor rather than pasting it into an unrelated shell.
Source collection
- Microsoft Learn: Windows Terminal overview
Used in: Quick notes · Worked example · Lesson text
Terminal host versus command-line applications; profiles, panes, starting-directory launch options and rendering features.
Windows Terminal is a host application for shells including PowerShell, Command Prompt, and Bash.
- MDN: Command line crash course
Used in: Quick notes · Worked example · Lesson text
Terminal and shell distinction, command names and output, simple directory navigation and shell-specific examples.
Terminal access, shell/prompt distinction, and basic command-line interaction.
- POSIX.1-2024: Shell Command Language
Used in: Quick notes
Prompt conventions, simple commands, quoting/expansion, command search, redirection, execution environment and pipeline boundaries.
Notes AI source review · 2026-10-17
AI source comparison recorded 2026-10-07. Human learner validation is pending.
Quick quiz · one question
Identify the parts of a terminal exchange
Sample scenario. Paper POSIX-style session. Part A displays text and accepts typing. Part B interprets command lines. The shown pwd command succeeds in the stated folder. Nothing runs on your computer.
- Observed parts
part-a: displays text and accepts typing; part-b: interprets command lines- Current folder
/home/learner/human-lab- Visible exchange
$ pwd /home/learner/human-lab
Which answer identifies the terminal and shell, then separates the prompt, command and displayed result?
Why this answer?
Answers stay on this device.
Sources and exercise scope
- Microsoft Learn: Windows Terminal overview
A terminal application hosts command-line shells; the host and shell are different parts of the interface.
- POSIX.1-2024: pwd
Plain pwd reports the current working directory as an absolute path, followed by a newline.
- MDN: Command line crash course
Terminal, shell, and command-line distinctions; an absolute path starts at a root while a relative path depends on the working directory.
Original synthetic exercise. AI comparison against the reviewed lesson recorded on 2026-10-20; the references above state their scope. Human learner validation has not been run. A result here records this attempt; it does not establish mastery.
Follow this learning pathLesson 5 of 8
From project files to a small program
Save or adjust this lesson
Make this lesson yours
Save it for later, or tell your robot what would help.
This correction stays on this browser. Browse all concepts if the topic is missing.
Familiarity is your own assessment. To use it in your coding tool, download your updated learning profile.
Familiarity and lesson feedback are saved on this browser. They do not sync to your account or coding tool.