← Back to course

Getting Started with the Linux Terminal

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:

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:

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:

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:

  1. What does pwd show?
  2. What does ls show?
  3. What does whoami show?
  4. What does clear do?

Mini Challenge

Open your terminal and run:

pwd
ls
whoami

Then write down:

Congratulations. You have officially spoken to Linux.

And Linux answered.

Coldly, but honestly.

Summary

Today you learned:

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.