linux ls 只顯示文件或者文件夾

只顯示文件夾     ls -l | grep ^d字符串 只顯示文件         ls -l | grep ^-grep 解釋一下: nw ls -l 以後會獲得下面的內容 文件 drwx------   4 jinwang users     4096 2012-02-09 15:00 .xchat2字符 -rw-r--r--   1 jinwang users  1690399 2012
相關文章
相關標籤/搜索