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

只顯示文件名:html ls -l | grep ^[^d] | awk '{print $8}'post 只顯示文件夾名:htm ls -l |grep ^d | awk '{print $8}' 或者是 ls -d */blog 轉載於:https://www.cnblogs.com/tiandsp/archive/2012/07/21/2602291.htmlclass
相關文章
相關標籤/搜索