views:

40

answers:

1

How can I output a representation of a directory tree in a family-tree style like this one where one to ten are directories at different levels under the root directory?

                       root
                        | 
            -----------------------------
            |       |        |          |
            one    two      three     four
                    |        |         |    
                  -----     five      eight
                  |    |
                 six  seven             
                  | 
                ----
                |   |
               nine ten
A: 

I simply want to invoke something like the tree command with a root directory as argument and display the output in this style.

passerby