The Linux tree command

# tree wasn’t installed by default on my RHEL 6.8 instance so as root:
yum install tree
To use it here’s an example of an EBS R12.1 directory tree displayed by the tree command
tree -A -L 4 oracle
oracle
├── oraInventory
│ ├── Contents
│ │ ├── CompsList0.ser
│ │ ├── oneoffs0.oo
│ │ ├── OracleHomesList.ser
│ │ ├── PatchesList0.ser
│ ├── ContentsXML
│ │ ├── comps.xml
│ │ ├── inventory.xml
│ │ └── libs.xml
│ ├── install.platform
│ ├── logs
│ │ ├── cloneActions2017-04-10_03-29-57AM.log
│ │ └── silentInstall2017-04-10_03-57-30AM.log
│ ├── oraInstaller.properties
│ └── oui
│ └── srcs.lst
└── VIS
├── apps
│ ├── apps_st
│ │ ├── appl
│ │ └── comn
│ └── tech_st
│ ├── 10.1.2
│ └── 10.1.3
├── db
│ ├── apps_st
│ │ └── data
│ └── tech_st
│ └── 11.1.0
└── inst
└── apps
└── VIS_o66-ebs
21 directories, XX files
[applmgr@o66-ebs u01]$

Leave a Comment

Scroll to Top