linux 查看目录名称的方法

1.

ls -d *

2.

grep查找以'/'结尾的,也就是目录

ls -F | grep '/$'

 

posted @ 2015-10-29 22:22  yongren1zu  阅读(1439)  评论(0编辑  收藏  举报