World map

 

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 are hereyou@kedai:~$

Folder ~

  • kedai/ (folder)drwxrwxr-xcounter kitchen menu store

+ 3 hidden (ls -a)

Services

  • cronrunningstarts at boot
  • sshrunningstarts at boot
  • nginxrunningstarts 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 are hereyou@kedai:~$

      Folder ~

      • kedai/ (folder)drwxrwxr-xcounter kitchen menu store

      + 3 hidden (ls -a)

      Services

      • cronrunningstarts at boot
      • sshrunningstarts at boot
      • nginxrunningstarts at boot

      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 are hereyou@kedai:~/kedai/kitchen$

      Folder ~/kedai/kitchen

      • rendang.txt (file)-rw-r--r--
      • sambal.txt (file)-rw-r--r--

      Services

      • cronrunningstarts at boot
      • sshrunningstarts at boot
      • nginxrunningstarts at boot

      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

      1. pwd
      2. ls -a
      3. cd / && ls
      4. cd ~

      0 of 4 steps done · Your ticks are saved.