+ -
当前位置:首页 → 问答吧 → 用SD卡直接运行系统

用SD卡直接运行系统

时间:2011-07-08

来源:互联网

axel批量下载a.txt里面的url 请问那里出了错?
代码:
#!/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:~#

作者: jy313819851   发布时间: 2011-07-08

另外帖子,不都说了嘛。都换绝对路径嘛。

作者: eexpress   发布时间: 2011-07-08