代码: 全选
#!/usr/bin/env bash
cd /mnt/sda1/1
for line in `cat ./a.txt`
do
./axel -n 10 -a -o ./download $line
done
root@OpenWrt:~# screen sh /usr/bin/axel.sh
/var/run/utmp: No such file or directory
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
/usr/bin/axel.sh: line 11: ./axel: not found
usr/bin/axel.sh: line 11: ./axel: not found
[screen is terminating]
root@OpenWrt:~#