iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
You do not need to memorize Linux commands to get comfortable with the terminal. Start by learning where you are, how to move between folders, and how to practise simple file operations in a dedicated directory. Use built-in help when you are unsure, and save deletion or administrator commands for later.
What the terminal does—and what the shell does
A terminal is a text interface to your computer. Ubuntu’s beginner tutorial describes the Linux command line as “a text interface to your computer” (Ubuntu Desktop beginner tutorial for Ubuntu 26.04). The terminal window displays that interface; the shell is the program inside it that reads and runs the commands you type.
People often use “terminal,” “shell,” “console,” “prompt,” and “command line” loosely. For practical purposes, look for the prompt—the place where the shell is ready for input. Type a command there and press Enter to run it. The examples below follow Ubuntu’s beginner guidance; command availability and defaults can vary by Linux distribution and shell.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Start with location: know where commands will act
Check your current directory with pwd
Type pwd and press Enter. It prints the current working directory: the folder the shell treats as the default location for many file operations. If you are uncertain where a command will look for or create a file, check this first. Ubuntu’s Server tutorial explains current-directory behavior and command help (Ubuntu Server tutorial, updated July 10, 2026).
#1 Best Overall
List files with ls
Run ls to see files and folders in the current directory. For a longer listing that includes hidden files, use ls -la. Hidden filenames commonly begin with a dot, so they may not appear in an ordinary listing. Ubuntu’s command reference documents these commands (Ubuntu CLI cheat sheet, updated June 2, 2026).
Move around with cd
Use cd followed by a directory path to change directories. cd .. moves up one level; cd ~ returns to your home directory. After moving, run pwd if you want to verify the new location. A relative path is interpreted from the current working directory, which is why location awareness matters.
Practise safely in a dedicated folder
Once you can check and change your location, make a small practice area in your home directory. These steps create a folder and files there, not system-wide changes. Run each command separately and notice what changes.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minute-
Return to your home directory with
cd ~, then create a folder withmkdir terminal-practice. If the folder already exists, do not create a second one; enter the existing folder instead. -
Enter it with
cd terminal-practiceand verify the location usingpwd. This is a useful habit before any file operation. -
Create an empty file with
touch notes.txt. The command creates the file or updates its timestamp if it already exists; it does not add text to the file. -
Run
cat notes.txtto display the file’s contents. Because it is empty, there will be no text to display. To add text, open it with a text editor rather than expectingtouchto write anything.What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy. -
Copy the file with
cp notes.txt notes-copy.txt. Then rename the copy withmv notes-copy.txt renamed.txt. Runlsto see the resulting filenames. -
To read a longer text file a screen at a time, use
less filename, replacingfilenamewith a file you want to inspect. Pressqto leave the viewer.
These commands build a practical sequence: observe your location, inspect it, navigate, then create and manipulate files in a contained place. You can remove the practice folder later using a file manager if you prefer not to practise deletion in the terminal.
Find help instead of memorizing options
Use a quick summary or full manual
For a brief option summary, try command --help, replacing command with a command such as ls. For fuller documentation, use man command, such as man ls. In the manual viewer, type /word to search for a word on the current page and press q to quit.
Recommended Free Tools
Search manual descriptions by task
If you know what you want to do but not the command name, try man -k word to search manual-page descriptions for a word. Results depend on the manuals installed on your system. Ubuntu’s CLI cheat sheet is also a compact reference and points readers toward manual pages for details (Ubuntu CLI cheat sheet, updated June 2, 2026).
Rank #4
It is normal to look things up. Comfort comes from knowing how to inspect a command and its context—not from remembering every option in advance.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Build habits that prevent avoidable mistakes
-
Check your location. Use
pwdbefore file operations when you are unsure. A relative path refers to the current working directory. -
Treat deletion as permanent unless you know otherwise.
rmdeletes files;rm -rremoves a directory and its contents. Avoid practising these commands on files you care about.Free tools Windows power users keep installed
One-click scans. No signup required.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy. -
Use administrator privileges only when needed. Ubuntu documents
sudoas a way to run a command temporarily with administrator privileges. Understand the command and the files or settings it affects before addingsudo. -
Be cautious with installation instructions. Ubuntu identifies its official repositories as the safest default source for software. If instructions download and execute material from elsewhere, inspect what the command downloads and runs rather than pasting it blindly.
Ubuntu’s guidance on elevated privileges and software sources explains these cautions (Ubuntu guidance on sudo and software sources). In particular, pause before commands involving administrator access, deletion, remote downloads, or permission changes; know what they target before running them.
Keep learning at a manageable pace
Repeat the practice sequence until checking a directory, listing its contents, and moving around feel routine. Then choose one small task you actually need to do and use --help or a manual page to work through it. Ubuntu’s beginner material is designed for readers without prior command-line knowledge and uses practical exercises; a free learning resource is available alongside it (Ubuntu Desktop beginner tutorial for Ubuntu 26.04). You can learn in short sessions without turning command memorization into a prerequisite.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

