Getting Started with the Linux Terminal

Welcome to your first lesson.
Today we are not going to destroy your computer.
Probably.
What You’ll Learn
In this lesson, you’ll learn:
- what the terminal is;
- what a shell is;
- how to run your first commands;
- how to understand the prompt;
- how to avoid panic when the screen looks too serious.
The Mission
Your mission is simple:
Open the terminal, run a few commands, and understand what the computer is telling you.
No magic.
No dark rituals.
No sacrificing keyboards to the Linux penguin.
What Is the Terminal?
The terminal is a text-based way to talk to your computer.
Instead of clicking buttons, you type commands.
For example:
pwd
This command shows where you are in the file system.
What Is a Shell?
The shell is the program that understands your commands.
When you type something like:
ls
the shell reads it, understands it, and asks Linux to do the work.
Think of it like a translator between you and your system.
You say:
ls
Linux understands:
“Please show me what is inside this folder.”
Very polite. Very efficient. Zero small talk.
Your First Commands
Open your terminal and try this:
pwd
This means:
print working directory
It shows your current location.
Now try:
ls
This shows the files and folders in the current directory.
Now try:
whoami
This shows your current username.
These commands answer three important questions:
- Where am I?
- What is here?
- Who am I?
Very philosophical. Linux is basically Socrates with folders.
Understanding the Prompt
When you open the terminal, you usually see something like this:
viktor@archlinux:~$
Or maybe something shorter:
❯
The prompt is where you type commands.
It can show useful information, such as:
- your username;
- your computer name;
- your current folder;
- whether you are a normal user or root.
If you see:
$
you are usually a normal user.
If you see:
#
be careful. You may be root.
Root is powerful. Root does not ask many questions. Root can delete your digital kitchen while you are still looking for the coffee.
Clear the Screen
After a few commands, your terminal may look messy.
Use:
clear
This cleans the screen.
It does not delete files.
It only gives your terminal a little shower.
Common Mistakes
Typing a command with mistakes
If you type:
sl
instead of:
ls
Linux may say:
command not found
That is normal.
Linux is not angry.
It is just very literal.
Forgetting spaces
This is wrong:
cdDocuments
This is correct:
cd Documents
Spaces matter.
The terminal is like an Italian grandmother reading a recipe: one wrong detail and suddenly the pasta is emotionally damaged.
Panicking too early
When you see an error, do not panic.
Read it slowly.
Most terminal errors are not disasters. They are messages.
Annoying messages, yes.
But still messages.
Practice
Try these commands:
pwd
ls
whoami
clear
Then answer these questions:
- What does
pwdshow? - What does
lsshow? - What does
whoamishow? - What does
cleardo?
Mini Challenge
Open your terminal and run:
pwd
ls
whoami
Then write down:
- your current directory;
- one file or folder you see;
- your username.
Congratulations. You have officially spoken to Linux.
And Linux answered.
Coldly, but honestly.
Summary
Today you learned:
- the terminal is a text-based way to control your computer;
- the shell understands your commands;
pwdshows where you are;lsshows what is inside a folder;whoamishows your username;clearcleans the screen.
The terminal is not your enemy.
It is just very direct.
Next Lesson
In the next lesson, we’ll learn how to move around folders with cd, understand paths, and stop feeling lost inside your own computer.