Path: utzoo!utgpu!watserv1!watmath!att!att!pacbell.com!ucsd!usc!samsung!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!hplabs!hpl-opus!hpnmdla!darrylo From: darrylo@hpnmdla.HP.COM (Darryl Okahata) Newsgroups: comp.sys.hp Subject: Re: dtree program ???? Message-ID: <430027@hpnmdla.HP.COM> Date: 31 Oct 90 23:30:14 GMT References: <1150041@misty.boeing.com> Organization: HP Network Measurements Div, Santa Rosa, CA Lines: 23 In comp.sys.hp, jsadler@misty.boeing.com (Jim Sadler) writes: > Does anyone have a copy of a program that will show the directory > structure of a file system. I need it to work on HP-UX 7.0, series 800, > with a standard terminal. X window is Okay, but we prefer it not. How about: find / -type d -print | sort Note that you have to be root to display *all* directories; otherwise only those directories for which you have permission to read will be displayed. If you want a faster version, just don't sort the list. -- Darryl ("Amazing, isn't it?" ;-) Okahata UUCP: {hplabs!, hpcea!, hpfcla!} hpnmd!darrylo Internet: darrylo%hpnmd@hp-sde.sde.hp.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion or policy of Hewlett-Packard or of the little green men that have been following him all day.