Let's Start!
So youโve cracked open Linux. Congrats โ youโre entering a world where you command the computer with words, not clicks. Think of it like talking to your PC in its native tongue.
Letโs make this fun.
๐ฅ๏ธ The Big Picture: Whoโs Who in Linux
When you use a computer:
Hardware โ the physical stuff (CPU, memory, disk, keyboard).
Kernel โ the OS brain that talks to hardware.
Shell โ your translator. You type a command, shell hands it to the kernel, kernel does the job, you see the result.
Imagine: You โ Shell (translator) โ Kernel (brain) โ Hardware (muscles).
๐ป What is a Terminal?
A terminal is your text-based chat window with Linux. Back in the day, it was an actual physical device. Today itโs just an app.
Examples:
GNOME Terminal
Konsole
WSL on Windows (Which I am using)
Open one. Itโs where all the magic begins. โจ
If you haven't yet installed WSL yet, install it from here.
๐ What is Bash?
Most Linux systems use Bash (Bourne Again SHell). Itโs the interpreter that runs your commands and gives you output. In this course โ weโre sticking with bash.
โก Running Your First Commands
Try these out:
๐ก Tips
Commands are case-sensitive โ
pwdโPWD.Typos? Bash will throw:
command not found.
๐ Getting Help
Linux has built-in manuals:
Controls:
qโ quit/wordโ search for something
Example: /directory โ find mentions of โdirectory.โ
๐ก The Shell Prompt
When you open a terminal, youโll see something like:
Thatโs the prompt โ shell waiting for your orders.
Change it temporarily:
Reset โ close & reopen the terminal.
๐ฎ Pro Navigation Tricks
๐ Command History
โ (up-arrow) โ brings back your last command.
โ (down-arrow) โ moves forward again.
Terminals usually remember your last 1000 commands.
โ๏ธ Cursor Movement
Use โ โ arrows to move inside a command.
Fix typos without retyping everything.
๐ฑ๏ธ Mouse Copy-Paste
Highlight text โ auto-copied.
Middle-click โ paste it.
Forget
Ctrl+C/Ctrl+Vhere โ they mean other things (like killing a process โ๏ธ).
๐ฏ Focus Options
Most desktops use click-to-focus (click a window to make it active).
Old-school Linux prefers focus-follows-mouse โ just hover to give focus.
If supported, try it โ smoother copy-pasting.
๐๏ธ Exercises
Run:
Use
man dateโ try different date formats.Change your prompt:
Recall your last command using the โ arrow.
Practice copy-paste with the mouse.
Exit the terminal with:
Date Learned: 11 August 2025
Source: The Linux Command Line, Chapter 1
Last updated