Sudarshan's Blog - My Technical Jibber-Jabber
Release, DevOps and Automation
Tuesday, January 18, 2011
Command to display tree structure in Solaris
Following combination of fond and sed with a rich use of regex will display tree structure of directories in solaris machines.
find . -type d -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
2 comments:
Unknown
January 20, 2014 at 7:25 PM
Cool! Very usefull one-liner! THANKS
Reply
Delete
Replies
Reply
Unknown
February 13, 2014 at 10:23 AM
Thank you :)
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Cool! Very usefull one-liner! THANKS
ReplyDeleteThank you :)
ReplyDelete