List A Directory With Tree Command On Mac OS X

First, if you don’t have Homebrew, install it first.

Run the following command to install the tree command:-

 

➜ brew install tree
 ==> Downloading https://homebrew.bintray.com/bottles/tree-1.7.0.sierra.bottle.1.tar.gz
 ######################################################################## 100.0%
 ==> Pouring tree-1.7.0.sierra.bottle.1.tar.gz
 🍺 /usr/local/Cellar/tree/1.7.0: 7 files, 113.3KB
 

➜ DesignPatternsJava9 git:(object-inheritance-issues) ✗ tree
 .
 ├── README.md
 └── inheritance
 ├── inheritance
 │   └── production
 │   └── Client.class
 ├── inheritance.iml
 ├── production
 │   └── Client.class
 ├── src
 │   ├── Client.java
 │   └── module-info.java
 └── test
 └── inheritance
 ├── Client.class
 ├── inheritance.iml
 └── inheritanceIssues.iml

7 directories, 9 files

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s