[buug] ls only to show directories

Jon McClintock jammer at weak.org
Mon Jan 5 18:20:23 PST 2004


On Tue, Dec 23, 2003 at 05:46:16PM -0800, Patrick Soltani wrote:
> Try this:
> ls -ld */
> 
> Try "ls -d */" for even shorter names.  The magic is "/" at the end of the command ;-).

And, if your system libraries are screwed up so that the dynamically
linked 'ls' doesn't work:

	$ echo */

-Jon



More information about the buug mailing list