Here is the command you can use to Display Unix Directories like Tree structure, exactly like you use Tree command in windows which will give a similar out put like
N20:/data1/maxim/user01/mytest $ ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
.
|-test1
|-test2
|-test3
|-index
Friday, June 11, 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment