shell/脚本函数/new

9 lines
104 B
Plaintext
Raw Normal View History

2016-05-15 09:51:46 +08:00
#!/bin/bash
for (( i=1; i<=4; i++ ))
do
touch $i.sh
chmod 764 $i.sh
echo "#!/bin/bash" > $i.sh
done