DAZAI CHEN

What is a Terminal? A Guide for the Intimidated

The terminal isn't as scary as it looks. This guide explains what it is, why you'd use it, and basic commands in plain English.

Terminal Command Line Beginner Guide CLI Learning

What is a Terminal?

You know how you normally use a computer — double-click to open a file, drag stuff to the trash to delete it?

That’s called a “Graphical User Interface” (GUI) — you see things, you click things.

The terminal is a different way to control your computer.

No mouse. Just typing. You type commands, the computer does them.

That’s it. Really.


Why Does It Look So Scary?

Because it looks like this:

user@MacBook ~ %

A black (or white) window, a blinking cursor, zero hints about what to do.

Unlike your iPhone with pretty buttons that say “tap me,” the terminal just… waits. Silently.

If you don’t type anything, it does nothing.

For people used to graphical interfaces, this is unsettling. But it’s really just waiting for you to talk to it.


Why Would Anyone Use This?

Good question. If clicking works fine, why type?

1. Some Things Only Work in Terminal

Many developer tools (like Claude Code) only have command-line versions. No pretty buttons.

2. It’s Faster

Once you’re comfortable, typing a few characters beats clicking through menus.

Want to rename 100 files? With a mouse, that’s 100 clicks. With terminal, one command.

3. Automation

You can write “scripts” — lists of commands that run automatically. Can’t do that with a mouse.

4. Remote Access

When connecting to servers, terminal is often the only option.


How to Open Terminal

Mac

  1. Press Command + Space
  2. Type Terminal
  3. Press Enter

Windows

You have two options:

PowerShell (recommended)

  1. Press the Windows key
  2. Type PowerShell
  3. Click “Windows PowerShell”

Command Prompt

  1. Press the Windows key
  2. Type cmd
  3. Click “Command Prompt”

Basic Concepts

Where Are You?

The terminal is always “inside” some folder. This is called the “current directory” or “working directory.”

Just like when you open a folder in Finder or File Explorer — the terminal is in a folder too. It just doesn’t show pretty icons, only text paths.

Check Your Location

Mac / Linux:

pwd

Windows PowerShell:

pwd

or

Get-Location

See What’s Here

Mac / Linux:

ls

Windows PowerShell:

ls

or

dir

Move to Another Folder

cd foldername

For example:

cd Documents

Mac tip: You can drag a folder directly onto the Terminal icon in your Dock — it’ll open a new window already in that directory.

Go Back One Level

cd ..

Go to Home Directory

Mac / Linux:

cd ~

Windows:

cd $HOME

Survival Commands

ActionMac/LinuxWindowsWhat it does
Where am IpwdpwdShows current location
What’s herelsls or dirLists files
Movecd foldercd folderChanges directory
Clear screenclearclsClears previous output
Previous commandPress Press Recalls last command

Tips

1. Case Matters

cd Documents and cd documents might be different things (especially on Linux).

2. Spaces Need Quotes

If a filename has spaces, wrap it in quotes:

cd "My Documents"

3. Made a Mistake? Start Over

Press Ctrl + C to cancel the current command. If you’re stuck, try this.

4. Tab Auto-completes

Type the first few letters of a filename, press Tab, and the terminal finishes it for you. Super useful.


Don’t Be Afraid

The terminal won’t explode if you make a typo.

Worst case, it tells you “command not found” or “file doesn’t exist.” Then you just try again.

It’s just a tool waiting for your commands.

It doesn’t bite.



Sources


Get in Touch

Have questions or want to collaborate? Feel free to reach out!

dazai.studio

Dazai Chen

dazai.studio@gmail.com