直接上代码 方法一 test.sh #!/system/bin/sh head -n 1 /proc/mtktz/* | while read line do echo $line done 执行 ./data/test.sh 输出 方法二 ls /proc/mtktz/ | while read name do line=`head -n 1 /proc/mtktz/$name` echo $name": "$line done 输出