shell遍历文件夹

版权声明:大家随意浏览。 https://blog.csdn.net/sinat_30062549/article/details/84854205
path=`pwd`
ls $path | while read line
do
	echo $line
done
pwd=`pwd`
filelist='ls $dir`
for file in $filelist:
do
	echo $file
done
展开阅读全文

没有更多推荐了,返回首页