shell 腳本統計當前目錄下普通文件個數

 shell 腳本統計當前目錄下普通文件個數 #!/bin/bash #The shell function used to count how many files in the current dirctory count=0 for files in * do if [ -f "$files" ] then count=`expr $count + 1` fi done echo "Ther
相關文章
相關標籤/搜索