Who does not like the movie The Matrix? The iconic green-on-black “digital rain” terminal has inspired generations of programmers.

If the animated version won’t run on your platform, paste this static code block into your Markdown to show a “terminal-looking” snippet:
guest@neo:~$ whoami
guest
guest@neo:~$ echo "Welcome to command-line 101"
Welcome to command-line 101
guest@neo:~$ ls -la
total 32
-rw-r--r-- 1 guest staff 142 Dec 17 2025 README.md
drwxr-xr-x 6 guest staff 192 Dec 17 2025 lab1
guest@neo:~$ cat README.md
Learning the command line gives you superpowers: navigation, automation, debugging.
# Tips:
- Start simple: cd, ls, cat, mkdir, rm (careful!)
- Combine commands with pipes: grep, awk, sed
- Use the terminal to automate repetitive tasks
guest@neo:~$
Course: Web Development / Computing Fundamentals Level: 1st-year undergraduate Time: ~30–40 minutes
In films like The Matrix, hackers don’t click buttons — they talk directly to the computer. While real command-line work is less dramatic, it gives you powerful abilities:
In this worksheet, you’ll practise the core commands that underpin web development, servers, and deployment.
Open a terminal:
You should see a prompt similar to:
username@computer:~$
Type the following commands, one at a time:
whoami
pwd
Questions:
~ represent?Run:
ls
ls -l
ls -la
Questions:
-l?-a?rw-r--r--) roughly mean?Create a folder for this course:
mkdir web-dev
cd web-dev
Now create a file:
echo "Hello, command line" > README.txt
cat README.txt
Questions:
> do?cat stand for?Add more text:
echo "The command line gives you superpowers" >> README.txt
echo "Web servers love terminals" >> README.txt
Now search inside the file:
grep "command" README.txt
Questions:
Try this:
ls -la | grep README
curl https://www.example.com | grep "<title>"
wget -q -O - https://www.example.com | grep "<h1>"
Questions:
| do?Try to:
lab1index.htmlHint: combine mkdir, cd, echo, and cat.
🚀