[PLUG] ls -d does not work as it should

Rich Shepard rshepard at appl-ecosys.com
Mon Jun 25 17:40:46 PDT 2018


On Mon, 25 Jun 2018, John Meissen wrote:

> I generally take the easy way and just do
>  ls -l | grep drw
>
> You could do
>  find . -type d -maxdepth 1
>
> Or if you want it sorted,
>  find . -type d -maxdepth 1 | sort
>
> Each has it's own quirks.

   Thanks, John.

Rich


More information about the PLUG mailing list