3月20 Ubuntu里运行脚本示例

首先,确定你那个脚本文件的位置,比如说你放在/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
发布了30 篇原创文章 · 获赞 3 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/djfjkj52/article/details/88913927