Karl's is more elegant, but you can also: find . -type d -maxdepth 1 And, you can tweak this in different ways, as your needs may dictate, for instance: find . -type d It's either a feature or a bug that the find syntax exposes hidden directories. Karl Dahlke writes: > ls -1p | fgrep / > > Karl Dahlke > > _______________________________________________ > > Blinux-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/blinux-list -- Janina Sajka Phone: +1.202.494.7040 Partner, Capital Accessibility LLC http://www.CapitalAccessibility.Com Chair, Accessibility Workgroup Free Standards Group (FSG) janina@xxxxxxxxxxxxxxxxx http://a11y.org If Linux can't solve your computing problem, you need a different problem. _______________________________________________ Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list