Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is Linux for the MS-DOS tree command?

tree

List a tree listing of the current drive. Below is a basic example of what a directory may look like.

C:.
├───Common
├───Director
├───Flash
├───Shockwave 8
│ ├───DswMedia
│ ├───Prefs
│ └───Xtras
└───update
share|improve this question
    
"find" isn't that far off... –  wrt Jan 16 '10 at 4:32
add comment

1 Answer

up vote 10 down vote accepted

There is also a Linux command tree. But it doesn't always come pre installed.

If you are using Ubuntu (or a Debian based distro) you can install the tree command by typing

sudo apt-get install tree

Or for other distros or if you want the source code, you can check out the Tree homepage

[If you're interested, it's written by a guy called Steve Baker and his site is here]

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.