skip to main |
skip to sidebar
How to Display Directory Structure Linux/Unix
The below command displays the directory tree structure
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
More information at http://www.centerkey.com/tree/
No comments:
Post a Comment