shell/脚本函数/new

9 lines
104 B
Bash

#!/bin/bash
for (( i=1; i<=4; i++ ))
do
touch $i.sh
chmod 764 $i.sh
echo "#!/bin/bash" > $i.sh
done