linux 显示文件或文件夹

用 -v 很简单呀!

显示文件 ls -l | grep -v '^d'
显示目录 ls -l | grep '^d'

posted on 2015-12-04 13:58  寻步  阅读(726)  评论(0编辑  收藏  举报