tree

Section: User Commands (1)
Index Return to Main Contents
 

Name

tree - lists a directory hierarchy in an indented format  

Syntax

tree [-d] [directory...]

 

Description

Tree recursively walks a directory tree printing names as it goes. Each new directory level is indented 4 spaces.

-d Display only the directories.

-h Usage information

-v Version information

Output is to stdout.  

Example

$ tree ~/man
/home/joppa/horton/man
    man1
        glcheck.1
        glunpack.1
        xviewgl.1
        pstext.1
        mif2troff.1
        recent.1
        bigfiles.1
        netconfig.1
        prog2mif.1
        gs.1
    man3
        Sprint.3
        sio.3
        strparse.3
        strprint.3
        strs.3
        strutil.3
 

See Also

stat(2)  

Environment

PATH=$PATH:/home/joppa/horton/bin/{HPPA,RISC}

MANPATH=$MANPATH:/home/joppa/horton/man  

Known Bugs

Only regular files are considered.  

Author

David Horton - CiTR  

Copyright

Centre for Information Technology Research, 1994


 

Index

Name
Syntax
Description
Example
See Also
Environment
Known Bugs
Author
Copyright

This document was created by man2html, using the manual pages.
Time: 23:34:46 GMT, September 27, 2019