[ale] ls

Mike Fletcher fletch at phydeaux.org
Tue Feb 6 10:04:45 EST 2007


Terry Bailey wrote:
> Hi,
>
> Is there a switch for the ls command so that directories are not listed?

Use zsh and its glob qualifiers.

Only plain files:

ls -l *(.)


Only directories:

ls -ld *(/)


Recursively show all plain files below the current directory:

ls -l **/*(.)







More information about the Ale mailing list