Week 3
Command-Line Basics
The command line is a tool for gathering information, testing connections, and documenting system behavior.
Lesson recap
Learning goals
- Open the command line on Windows or Linux
- Use commands to view computer identity
- Navigate between folders
- Display basic system and network information
- Run a loopback ping
- Explain command results in basic technical language
Key terms
Command Line
A text-based way to interact with a computer.
Command Prompt (cmd)
Classic Windows command-line program.
PowerShell
Modern Windows shell — more powerful, scripts in .ps1 files.
Terminal
Linux/macOS command-line program (often running bash or zsh).
Directory
Another word for folder.
Working Directory
The folder the shell is currently 'in' (shown by pwd / cd).
Output
The result displayed after a command runs.
Flag / Switch
An option that changes a command's behavior, e.g. -a, /all.
Curated videos
Windows Command Line Tutorial — Introduction
thenewboston
Beginner's Guide To The Linux Terminal
DistroTube
Commands
hostnamewhoamicd
dirpwd
ls -laping 127.0.0.1ping 127.0.0.1ipconfig > Week03_ipconfig.txtcls # Windows
clear # LinuxCheckpoint checklist
- Open command line and identify computer
- View and navigate folders
- View network information
- Run loopback ping
- Create command-line practice report
- Saved required evidence
- Answered the reflection questions
Pro tips from the instructor
- ★Use the up-arrow key to recall previous commands — you'll save hours over the semester.
- ★Tab-completion works in PowerShell and Linux: type a few letters of a file name and press Tab.
- ★Paste output text into your report, not screenshots. Text is searchable; PNGs aren't.
- ★Linux ping runs forever by default — use `ping -c 4` to send only 4 packets like Windows does.
Try this — stretch exercises
Optional hands-on practice that goes beyond the workbook. Check items off as you complete them — progress saves in this browser.
- Find your default gateway with `ipconfig | findstr Gateway` (Windows) or `ip route | grep default` (Linux).
- Pipe a long output through `more` (Windows) or `less` (Linux): `systeminfo | more`.
Files to save this week
- 📁 Week03_Hostname_YourLastName.png
- 📁 Week03_IPConfig_YourLastName.png
- 📁 Week03_LoopbackPing_YourLastName.png
- 📁 Week03_CLIPracticeReport_YourLastName