tree
tree — folder and file tree. It is one of the commands you type in a terminal, and everything below is produced by running it: the output, the error you get when it goes wrong, and a terminal you can type it into yourself.
What it prints
Run against a small demo project — the same one you get in the terminal below, so the output is what you will see, not an illustration of it.
$ tree. ├── a.txt ├── app.js ├── downloads ├── log.txt ├── myfolder │ └── keep.txt ├── names.txt ├── notes.txt ├── old.txt ├── projects │ ├── notes │ └── web │ ├── app.js │ └── index.html ├── script.sh └── todo.md
Other commands
Try it yourself
Same files as above. Nothing here can break, and nothing leaves your browser.
Written by Mikhail Kuzmitskii