ディレクトリだけ表示 ls -l | grep ^d

macディレクトリだけls する方法

 

$ ls -l | grep ^d

 

参考

http://blog.taikomatsu.com/2013/10/09/linux-ls-dir/comment-page-1/