ls只顯示文件名/只顯示文件夾名

只顯示文件名:post ls -l | grep ^[^d] | awk '{print $8}'blog 只顯示文件夾名:class ls -l |grep ^d | awk '{print $8}' 或者是 ls -d */awk
相關文章
相關標籤/搜索