[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] ls



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 **/*(.)