頂客論壇用ls搭配grep 看權限開頭是- 再用awk去處理如下: 1) 顯示檔案數目: ls -laR |grep "^-" |awk 'END{print "Number of files:"NR}' 2) 顯示目錄 ...
www.dk101.com