Module 1 · Linux: the 20 everyday commands · Lesson 1 of 16

Start here: talking to a computer in text

What a terminal is, how to read the prompt, and the three parts of every command.

In this lesson · about 12 minutes

  • Explain what a terminal and a shell are, in everyday words
  • Read a prompt such as sam@practice-box:~$
  • Split any command into the command, its options and its arguments

Why bother, when we have mice and windows? Because almost every server on the internet, every cloud machine and every developer tool is run this way. Servers usually have no screen at all. Typing is also faster once you know the words, it can be repeated and automated, and it leaves a record of exactly what was done.

This course teaches the 40 commands people use every day: 20 for Linux (moving around, handling files, permissions, programs, disks and the web) and 20 for Git (saving and sharing versions of a project). You will type every one of them in a safe practice terminal right here on the page. Nothing you type can touch your own computer.

We follow Sam, who runs a small coffee shop and looks after its website and a little Linux server called practice-box.

Reading the prompt

Before you type, the shell shows a prompt, such as:

sam@practice-box:~$
  • sam is the user you are logged in as.
  • practice-box is the computer's name.
  • ~ is the folder you are in right now. The squiggle (tilde) is short for your home folder.
  • $ means "ready, type here". (When you are the all-powerful administrator, root, it shows # instead.)

Whiteboard · watch and try

The three parts of a command

Every command in this course has the same shape.

5 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

Practice terminal · missions

Your first three commands

This is Sam's practice server. Type each command in the black window and press Enter. The panel next to it shows Sam's files and updates as you work.

Missions 0 of 3

  1. 1Ask the terminal for help: type help
  2. 2Ask who you are logged in as: whoami
  3. 3List the files in your home folder: ls
sam@practice-box:~

Type a command and press Enter. Try help to list commands. Tab finishes names, ↑ repeats.

  • ~ (/home/sam)you are here
  • documents
  • budget-2026.csv
  • letters
  • thank-you.txt
  • meeting-notes.txt
  • resume.pdf
  • downloads
  • installer.zip
  • report-final-v2.pdf
  • report-final.pdf
  • logs
  • access.log
  • app.log
  • old
  • app-2026-09.log
  • app-2026-10.log
  • notes.txt
  • photos
  • beach.jpg
  • cat.png
  • trip
  • day1.jpg
  • day2.jpg
  • projects
  • website
  • index.html
  • style.css
  • scripts
  • backup.sh
  • hello.shruns
  • todo.md

This picture updates as you type. Changed items flash. runs = executable, a name badge = owned by someone else.

Check your understanding0 of 4 correct

Question 1

1.In the prompt alex@web01:~/site$, which folder is Alex in?

Question 2

2.In the command cp -r photos backup , what is -r?

Question 3

3.You type a command, press Enter, and nothing is printed. What does that usually mean?

Question 4

4.Why do servers and cloud machines rely on the terminal?

Quiz score: 0 of 4

Tip: answer every quiz question correctly first.

Written by Noviq Academy in its own words. The practice terminal is a simulation that runs in your browser: it imitates Linux (Ubuntu-style output) and Git closely, but it is not a real computer, and real output can differ slightly. The servers, people, web addresses and GitHub addresses in the labs are made up. Linux is a trademark of Linus Torvalds; Git and GitHub belong to their owners. Read-aloud uses your device's built-in voices.