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
相关文章
相关标签/搜索