Saturday, August 22, 2009

Tree - Displayng structure of Directory Hierachy

Tree is a utility which recursively displays the tree view of the contents of directories in a tree-like format

It comes default for CentOS Distribution

Note 1: How to use tree
For more information, you can use man tree. But some useful commands
# tree -D (List the date of the last modification time for the file listed)
# tree -a (List all the files to be printed including hidden files)
# tree -s (List the size of the file and name)
# tree -p (List the permission togethe with the file name)
# tree -H . -o index.html (Generate the output in html format)

No comments: