Find the lost diamond of the ancient monarch of treasure island! Navigate through the treasure island
folder only with the terminal and find the treasure.
Use the following commands:
cd
to change directoriescd ..
to move up one folderls
to list files the current foldercat <filename>
to see contents of a filepwd
to see your current directory path
Good luck!
Create the following file structure in a new folder notes
inside the root folder of this codespace.
(using mkdir
,
touch
and cd
):
notes
βββ released
β βββ public
β β βββ trash.txt
β βββ announcement1.txt
β βββ announcement2.txt
βββ unreleased
βββ announcement3.txt
βββ private
βββ notes1.txt
βββ notes2.txt
Update the structure to the following (using mv
, rm
and cd
):
notes
βββ private
β βββ notes1.txt
β βββ notes2.txt
βββ public
βββ released
β βββ announcement1.txt
β βββ announcement2.txt
βββ unreleased
βββ announcement3.txt
π‘ You can use the
tree
command to see the file structure in the terminal.