shell/newsh

11 lines
118 B
Plaintext
Raw Normal View History

2016-05-13 21:42:54 +08:00
#!/bin/bash
2017-07-21 09:54:16 +08:00
#创建4个sh
2016-05-13 21:42:54 +08:00
for (( i=1; i<=4; i++))
do
touch $i.sh
echo '#!/bin/bash' > $i.sh
chmod 764 $i.sh
done