Module 3 · Put it together · Lesson 16 of 16
Your 40-command cheat sheet and final test
All 40 commands on one page, a mixed practice terminal, the final test, and how to practise on your own computer.
In this lesson · about 25 minutes
- Pick the right command for a task from all 40
- Know how to keep practising on a real machine
Linux: the 20 everyday commands
| Job | Commands |
|---|---|
| Where am I, what is here, go there | pwd · ls -la · cd path, cd .., cd |
| Make, copy, move, delete | mkdir -p · touch · cp -r · mv · rm -r |
| Read and search | cat · less · grep -in · find . -name "*.log" |
| Permissions | chmod +x, chmod 644 · sudo chown user:group |
| Programs | ps aux · top · kill PID, kill -9 PID |
| Disks and the web | df -h · du -sh * · curl -o file URL |
Git: the 20 everyday commands
| Job | Commands |
|---|---|
| Start | git init · git clone URL |
| Save | git status · git add · git commit -m · git diff · git log --oneline |
| Share | git push · git pull · git fetch |
| Branches | git branch · git switch -c · git checkout · git merge · git rebase |
| Rescue and undo | git stash / pop · git reset · git revert · git cherry-pick · git tag |
Flashcards
Mixed review: all 40
0 of 40 known
The cards are the job; you name the command.
Practice terminal · missions
Mixed practice: Linux and Git together
Real work mixes both. You are in Sam's website repository.
Missions 0 of 5
- 1Show where you are and what is here, including hidden files.
- 2Make a folder called images and an empty file images/logo.svg inside it.
- 3Find which file mentions 555-0100 (the phone number).
- 4Stage and commit the new folder.
- 5Push it.
Type a command and press Enter. Try help to list commands. Tab finishes names, ↑ repeats.
Repository ~/website · on main
1 · Working folder
The files you edit
- README.mdsaved
- index.htmlsaved
- style.csssaved
2 · Staging area
Packed for the next commit
- (nothing staged: use git add)
3 · Commit history (this computer)
Each dot is a saved snapshot. Labels are branches, tags and what you last heard from origin.
☁ Remote: origin
https://github.example/sam/website.git
- mainb644ba3Add phone number to footersame as yours
Practice exam
Final test: 40 commands
20 questions, 25 minutes, mixed Linux and Git. 16 or more is a pass.
- 20 questions · 25 minutes
- No feedback until you submit. Flag questions to come back to them.
- Aim for 85% or better before you move on. The real exam's 750 out of 900 is roughly 80–83%.
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.