ls命令结果只显示文件夹而不显示文件 Cat. June 6, 2012 Linux 3 Comments ls -l |grep '^d'</code> ls -l | awk '/^d/{print $NF}' ls -F | grep /123ls -l |grep '^d'</code>ls -l | awk '/^d/{print $NF}'ls -F | grep /