tree - list contents of directories in a tree-like format
tree [-a] [-d] [-L level] [directory]
Options you will use
-a- Show hidden files.
-d- List directories only.
-L level- Descend only this many levels.
Gotchas
- Not installed by default: sudo apt install tree.
ls -Ris the always-there fallback.
Taught in
Try tree in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.