PROPHET/OS
NAME
tree: shows a directory and everything below it as a tree, the working directory without a path
SYNOPSIS
tree [-d] [-l depth] [path]
DESCRIPTION
Shows a directory and everything below it as a tree, the working directory without a path. Directories stand in yellow; at the end the count of directories and files.
-d directories only
-l depth no deeper than that many levels (-L too); -l 1 is the
directory's own entries
tree /system -l 1
tree -d /home
EXAMPLE
$ tree /system/config /system/config |-- aliases |-- cell.conf |-- consolev.conf |-- cron |-- engine.conf |-- groups |-- hi.conf |-- kernel.conf |-- login |-- ls.conf |-- lux.conf |-- mc.conf |-- modules.yaml |-- motd |-- mounts |-- mqttv |-- net | |-- cards | | |-- gem0 | | |-- net0 | | `-- standard | |-- dhcp | |-- firewall | |-- hosts | |-- ntp | |-- resolver | `-- wireguard |-- say.conf |-- shadow |-- shell.conf |-- theme |-- tiles.conf |-- top.conf |-- users |-- vigils.yaml `-- vim 2 directories, 34 files