Explore the Island

Linux lab Beginner 5 tasks 10 points

You've washed up on an island, and it's a directory tree! Your home folder has an island directory. Explore it with cd, ls and pwd and find the treasure.

How it works: the terminal below is a real Linux machine running in your browser. Click it and type. Tasks tick themselves off as you complete them; questions are answered in the box under each task. Press Reset any time for a fresh machine. Your password on this machine (for sudo) is student.

student@vulntech:~ Starting…
Getting your Linux machine ready…
The first start downloads about 20 MB. After that your browser keeps it, and labs start in a moment.

Hints

ls -R lists a directory and everything inside it.

pwd prints the absolute path of where you are.

Solution explanation

cd island then cd jungle/temple (a relative path) takes you to the temple, and cd .. back up to jungle. The treasure is in /home/student/island/cave/tunnel/chamber: ls -R ~/island would show it in one go. A plain cd always takes you home.

Show solution
cd island
cd jungle/temple
cd ..
cd ../cave/tunnel/chamber
ls
pwd
cd
HOME LEARN COMMUNITY DASHBOARD