Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .