ls只显示文件名/只显示文件夹名

只显示文件名:post ls -l | grep ^[^d] | awk '{print $8}'blog 只显示文件夹名:class ls -l |grep ^d | awk '{print $8}' 或者是 ls -d */awk
相关文章
相关标签/搜索