wget下载文件不完整,大小只显示283。完全无法运行下载的.sh文件
发表于 : 2023-04-05 23:06
wget下载anaconda的.sh文件一秒钟就结束了。bash anaconda.sh显示
Anaconda3-2023.03-Linux-x86_64.sh: line 1: html: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 2: head: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 3: script: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 4: /head: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 5: body: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 6: a: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 7: /body: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 8: /html: No such file or directory
然后查看大小 ll -h 显示如下:
-rw-rw-r-- 1 yuhongkui yuhongkui 283 Apr 5 14:25 'Anaconda3-2020.11x86_64.sh
-rw-rw-r-- 1 yuhongkui yuhongkui 283 Apr 5 14:12 Anaconda3-2023.03-Linux-x86_64.sh
-rw-rw-r-- 1 yuhongkui yuhongkui 283 Apr 5 14:38 ubuntu-22.04.2-desktop-amd64.iso
打开.sh文件只有8行代码
<html>
<head>
<script type="text/javascript">location.href="http://auth6.xju.edu.cn/index_159.html"</script>
</head>
<body>
Authentication is required. Click <a href="http://auth6.xju.edu.cn/index_159.html">here</a> to open the authentication page.
</body>
</html>
Anaconda3-2023.03-Linux-x86_64.sh: line 1: html: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 2: head: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 3: script: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 4: /head: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 5: body: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 6: a: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 7: /body: No such file or directory
Anaconda3-2023.03-Linux-x86_64.sh: line 8: /html: No such file or directory
然后查看大小 ll -h 显示如下:
-rw-rw-r-- 1 yuhongkui yuhongkui 283 Apr 5 14:25 'Anaconda3-2020.11x86_64.sh
-rw-rw-r-- 1 yuhongkui yuhongkui 283 Apr 5 14:12 Anaconda3-2023.03-Linux-x86_64.sh
-rw-rw-r-- 1 yuhongkui yuhongkui 283 Apr 5 14:38 ubuntu-22.04.2-desktop-amd64.iso
打开.sh文件只有8行代码
<html>
<head>
<script type="text/javascript">location.href="http://auth6.xju.edu.cn/index_159.html"</script>
</head>
<body>
Authentication is required. Click <a href="http://auth6.xju.edu.cn/index_159.html">here</a> to open the authentication page.
</body>
</html>