PDA

View Full Version : tree command



shmoesus
February 19th, 2009, 04:39 PM
dose anyone have a command or shell script that displays the tree command in ubuntu 6.10 i need one that displays files and directorys
if you could help it would be greatly appreciated
_shmoesus the anime god_

bsharp
February 19th, 2009, 04:59 PM
umm, tree?

if it's not installed, sudo apt-get install tree && tree?

Simian Man
February 19th, 2009, 05:01 PM
Ubuntu doesn't come with tree??

bsharp
February 19th, 2009, 05:26 PM
Now that I think of it, why are you using 6.10? Support for that version ended last year I think.:confused:

shmoesus
February 19th, 2009, 06:46 PM
ops i meant 8.04 i was thinking of something else but when i go to use the command: sudo apt-get install tree && tree
it just keeps telling me
reading package lists... Done
Building dependency tree
Reading state information... Done
E: Could't find package tree

SeanHodges
February 19th, 2009, 06:54 PM
ops i meant 8.04 i was thinking of something else but when i go to use the command: sudo apt-get install tree && tree
it just keeps telling me
reading package lists... Done
Building dependency tree
Reading state information... Done
E: Could't find package tree

tree is in the Universe repository, follow these instructions (https://help.ubuntu.com/community/Repositories/Ubuntu) to enable it.

Then install it using apt-get, or by clicking here (apt://tree).