Operating System - HP-UX
1826738 Members
2460 Online
109702 Solutions
New Discussion

Tree function in directory-view

 
SOLVED
Go to solution
Konrad Hegner
Frequent Advisor

Tree function in directory-view

Hello
DOS/Windows have one good feature: tree.
(You know, you can show a directory tree in comand-mode in Windows)

Know anybody similar function in HP-UX?

Thanks, Konrad
7 REPLIES 7
RAC_1
Honored Contributor

Re: Tree function in directory-view

You do not have command that will do that. But you have a script that can do that.

Search forums.
There is no substitute to HARDWORK
Steve Steel
Honored Contributor
Solution

Re: Tree function in directory-view

Hi

Added file should do

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Peter Godron
Honored Contributor

Re: Tree function in directory-view

Konrad,
not exactly graphical but the data is there:
find . -type d
Arunvijai_4
Honored Contributor

Re: Tree function in directory-view

# ls -ld |grep ^d

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steve Steel
Honored Contributor

Re: Tree function in directory-view

fyi

The file I added is a vtree script which works


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Arturo Galbiati
Esteemed Contributor

Re: Tree function in directory-view

Hi Konrad,
teh script dutree attached shows the directories tree.
HTH,
Art
Carlos Roberto Schimidt
Regular Advisor

Re: Tree function in directory-view

du -k /var | awk '{print $2}'

Show directory tree from /var directory