[Bash Scripting LOOP]for, while. until

#!/bin/bash
for item in *
do
    if [ -f $item ]
    then
        echo $item
    fi
done

for

do

done

if

then

(elif...then...)

(else)

fi

扫描二维码关注公众号,回复: 11261639 查看本文章

猜你喜欢

转载自www.cnblogs.com/profesor/p/12953256.html
今日推荐