Warning - this is from a 'newbie'... Just for grins I decided to try to figure this one out... There is probably a better way to do this but try... ls -R | grep ":" -- Alan Melick, NOC Engineer II, Fuse Internet Access On Fri, 22 Jan 1999, Yates, Larry wrote:
Hi,
The recent discussions on grep inspired me to ask this question.
How can I list the directory tree? No files within directories, just the directories.
I thought some 'ls' option combination would provide this, but no-luck.
I'd like to start from / and list ALL directories recursively.
Any ideas?
TIA, -Larry RPM Browser for Windows <A HREF="http://www.laysi.com/rpmbw/"><A HREF="http://www.laysi.com/rpmbw/</A">http://www.laysi.com/rpmbw/</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>