首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

Shell_循环

2012-11-08 
Shell__循环#!/bin/shfor file in ./* doif test -f $filethenecho $fileecho 是文件fiif test -d $fileth

Shell__循环

#!/bin/shfor file in ./* do    if test -f $file    then        echo $file        echo 是文件    fi    if test -d $file    then        echo $file        echo 是目录    fidone

热点排行