TIGLI ARCHIVE / 10 A PATIENT INTRODUCTION
Field guide / Vol. 10

Hello,
command line.

If you've never opened one, this is for you. We'll go slowly.

5 steps ≈ 8 minutes No prior knowledge

The command line is the oldest way to talk to a computer, and somehow also the most powerful one still in daily use. Every operating system has one — Windows calls it Command Prompt, macOS and Linux call it Terminal. Under the hood they are the same idea: you type a sentence, the computer does the thing.

This guide assumes you are on Windows and have never touched it before. We're going to open it together, say hello to it, walk through your own files, make a brand new file from a single line of text, and then put what you learned into a playground at the bottom of the page. By the end you should feel like the command line is a place you can visit, not a place you fear.

01
Step one — Opening it

First, find the door.

There are several ways to open Command Prompt on Windows. The fastest one works on every version since Windows 7:

  1. Hold the Windows key and press R. A small box appears in the corner of your screen called Run.
  2. Type cmd into the box.
  3. Press Enter.

A black window opens. It probably says something like C:\Users\YourName> with a small blinking cursor after it. That blinking cursor is the computer waiting for you. It will wait forever. There's no rush.

cmd.exe — first look
Microsoft Windows [Version 10.0.26100.2161]
(c) Microsoft Corporation. All rights reserved.
 
C:\Users\Tarik>
02
Step two — Saying hello

Make it say something back.

Your first command will be the simplest possible one. It does one thing: it repeats whatever you type after it. The command is called echo.

Type this, then press Enter:

your first command
C:\Users\Tarik> echo hello
hello
 
C:\Users\Tarik>

The computer wrote "hello" back to you. That's it — that's a command. You typed a verb (echo), followed by what it should act on (hello), pressed Enter, and the computer obeyed.

Every command on this page follows the same shape: verb, then thing. Once you internalize that, the rest is just learning verbs.

03
Step three — Looking around

See where you are.

You're standing somewhere on your computer's file system. Probably in your user folder. To see what's around you, ask for a directory listing:

looking around
C:\Users\Tarik> dir
 
Directory of C:\Users\Tarik
 
04/06/2026 14:22 <DIR> Desktop
04/06/2026 14:22 <DIR> Documents
04/06/2026 14:22 <DIR> Downloads
02/06/2026 09:14 1,204 notes.txt
 
C:\Users\Tarik>

dir is short for "directory" — it lists everything in your current folder. Items marked <DIR> are folders; the rest are files. This is the same information File Explorer shows you, just written instead of drawn.

04
Step four — Moving

Walk into another room.

To move into a folder, use cd (change directory) followed by the folder name. To go back up one level, use cd .. — two dots mean "the folder above this one."

walking around
C:\Users\Tarik> cd Desktop
C:\Users\Tarik\Desktop> # notice the path changed
 
C:\Users\Tarik\Desktop> cd ..
C:\Users\Tarik> # back where we started

Your computer's file system is a tree. Folders branch into folders branch into folders. cd is how you climb the tree without touching a mouse. That's all File Explorer is doing under the hood when you double-click.

05
Step five — Creating

Make a file from one line.

This one is the small miracle of the command line. Remember echo from step two? It just prints text to the screen. But if you add a > followed by a filename, it writes that text to a file instead.

creating a file
C:\Users\Tarik> echo Hello from my first command > hello.txt
C:\Users\Tarik> dir hello.txt
 
04/06/2026 14:31 32 hello.txt
 
C:\Users\Tarik>

Open File Explorer and look in your user folder. There's a brand new file called hello.txt. Open it — your sentence is inside. You just created a real file on your computer by writing one line of text. That's the command line's whole personality compressed into a single action.

06
Step six — Your turn

Try it right here.

This is a real, working mini terminal. Not a real Windows cmd — just a small simulation that understands the commands you just learned. Click the dark area and type a command, then press Enter.

playground.cmd
Tigli mini-shell v1.0 — type 'help' to see what works.
 
C:\Users\You> 

Try: help, echo something, dir, cd Desktop, cd .., echo my first line > note.txt, cls

Take a cheatsheet with you.

One page. Every command from this guide. Harmless .txt, opens anywhere.

Welcome to the back room of computing.

tarik tigli

Briefing 10 / End of file

REMOTE SESSION // T-NODE-09 --:--:--