首先,确定你那个脚本文件的位置,比如说你放在/home/aaa/xxx.sh这里。然后打开终端,输入cd /home/aaa/xxx.sh 回车
然后chmod +x xxx.sh 回车,
最后输入./xxx.sh 回车
如果不行,执行sudo ./xxx.sh 回车,输入root密码回车,ok
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh