标签:
#!/bin/bash
dir=(/server/BlackCustomer /server/product /server/Renewal /server/shortmessage /server/TrafficPool)
for i in ${dir[*]};do
touch $i/start.sh
Filename=`basename $i`
echo ‘#!/bin/bash‘>$i/start.sh
echo "echo $Filename">>$i/start.sh
done
标签:
原文地址:http://www.cnblogs.com/changbo/p/5387384.html