grep directories

There are dirs and files.  I want to ls -al for only dirs.
What are the ways?
JohnLucaniaAsked:
Who is Participating?
 
sjm_eeCommented:
ls -al | grep ^d
0
 
JohnLucaniaAuthor Commented:
yup!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.