how to see file tree in linux
RHEL / CentOS / Fedora Linux using yum command:
# yum install tree
## CentOS/RHEL 8.x and Fedora user try the dnf command ##
# dnf install tree
Debian / Mint / Ubuntu Linux,
$ sudo apt-get install tree
Apple OS X/macOS
brew install tree
and activate it using the following commands
tree
tree /path/to/directory
tree [options]
tree [options] /path/to/directory