up vote 3 down vote favorite
share [g+] share [fb]

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
link|improve this question

52% accept rate
"find" isn't that far off... – wrt Jan 16 '10 at 4:32
feedback

1 Answer

up vote 9 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]

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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