tree command cmd code example
Example 1: terminal tree command
# yum install tree #RHEL/CentOS 7
# dnf install tree #Fedora 22+ and /RHEL/CentOS 8
$ sudo apt install tree #Ubuntu/Debian
# sudo zypper in tree #openSUSE
Example 2: tree include files
Add "/f" flag to include files in tree command:
tree /f [path/subpath] #path and subpath are optional. Current dir is default