Level 1
0 / 100 XP

Welcome

12345

ls shows you one directory at a time. When you want to see an entire folder structure — subfolders and all — at a glance, tree draws it for you as an indented diagram.

The lab environment on the right is already seeded with a small project:

Text
projects/website/ (index.html, css/style.css, js/) documents/ (notes.txt)

In this lab you'll:

  1. Install the tree command
  2. Draw the whole structure with tree
  3. Limit the depth with tree -L
  4. Show directories only with tree -d

Work through the steps in the terminal. Each graded step checks itself once you run the right command.

Restoring lab progress…