• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

grep directories

There are dirs and files.  I want to ls -al for only dirs.
What are the ways?
0
JohnLucania
Asked:
JohnLucania
1 Solution
 
sjm_eeCommented:
ls -al | grep ^d
0
 
JohnLucaniaAuthor Commented:
yup!
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now