BM: Baca dalam Bahasa Melayu
World L1: The Shophouse
Where am I? pwd, cd, ls
You will learn: to see where you stand, list a folder and move between folders.
Checked with Linux (Debian 13) on 1 Nov 2026
The problem
You type cat today.txt. The server answers cat: today.txt: No such file or directory. But the menu file exists! What went wrong?
Pick one answer.
Watch
You are you in /home/you. 1 things here. Services: cron running, ssh running, nginx running.
you@kedai:~$Folder ~
- kedai/ (folder)
drwxrwxr-xcounter kitchen menu store
+ 3 hidden (ls -a)
Services
cronrunningstarts at bootsshrunningstarts at bootnginxrunningstarts at boot
Every room has an address: its path. pwd prints where you stand. ls lists what is in this room. Try ls kedai too.
Watch
/home/you starts at /, the front door. It works from anywhere. kedai/menu starts from where you stand. Sort them.
Drag a card into a box. Or tap the card, then tap the box.
Try it
Walk into the kitchen with cd kedai/kitchen. Then list it with ls.
You are you in /home/you. 1 things here. Services: cron running, ssh running, nginx running.
you@kedai:~$Folder ~
- kedai/ (folder)
drwxrwxr-xcounter kitchen menu store
+ 3 hidden (ls -a)
Services
cronrunningstarts at bootsshrunningstarts at bootnginxrunningstarts at boot
Hint
cd means “change directory”: walk into a folder.Predict
You stand in /home/you/kedai/kitchen. You type cd .. (two dots). Where are you now?
Pick one answer.
Try it
You start in the kitchen. Walk to the counter next door in one step: cd ../counter.
You are you in /home/you/kedai/kitchen. 2 things here. Services: cron running, ssh running, nginx running.
you@kedai:~/kedai/kitchen$Folder ~/kedai/kitchen
- rendang.txt (file)
-rw-r--r-- - sambal.txt (file)
-rw-r--r--
Services
cronrunningstarts at bootsshrunningstarts at bootnginxrunningstarts at boot
Hint
.. climbs one level. Then add /counter.Check
Lost? Build the command that takes you to your home folder (~): Your own room on the server, /home/you. The ~ sign is its short name. from anywhere.
Tap the pieces in the right order.
You did it!
You can now see where you are and walk between folders.
Go deeper (optional)
cd - jumps back to the room you were in before. ls -a also shows hidden names that start with a dot, like .keys. ls -l shows owners and keys: that is World L2.
Real rep (optional), on your own machine:
Real mission
pwdls -acd / && lscd ~
0 of 4 steps done · Your ticks are saved.
Bahasa Melayu
Anda taip cat today.txt. Server jawab cat: today.txt: No such file or directory. Tapi fail menu itu wujud! Apa yang tak kena?
Setiap bilik ada alamat: path (laluan). pwd cetak tempat anda berdiri. ls senaraikan isi bilik ini. Cuba ls kedai juga.
/home/you bermula di /, pintu depan. Ia jalan dari mana-mana. kedai/menu bermula dari tempat anda berdiri. Asingkan.
Masuk ke dapur dengan cd kedai/kitchen. Kemudian senaraikan isinya dengan ls.
cd maksudnya “change directory”: masuk ke folder.Anda berdiri di /home/you/kedai/kitchen. Anda taip cd .. (dua titik). Di mana anda sekarang?
Anda bermula di dapur. Pergi ke kaunter di sebelah dengan satu langkah: cd ../counter.
.. naik satu tingkat. Kemudian tambah /counter.Sesat? Bina arahan yang bawa anda ke folder rumah dari mana-mana.
Kini anda boleh tahu di mana anda berada dan bergerak antara folder.
You finished this before. Practice is always welcome!
Official docs: pwd (Debian 13 man page) · ls (Debian 13 man page) · cd: Bash builtins (GNU) · How Linux finds a path (man7.org)
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?