Linux

wget + 如何知道文件夾下的工具包列表

  • January 14, 2018

我們可以下載套件HDP-2.6.3.0-centos6-rpm.tar.gz

通過以下 wget

wget http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.3.0/HDP-2.6.3.0-centos6-rpm.tar.gz

--2018-01-14 17:16:18--  http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.3.0/HDP-2.6.3.0-centos6-rpm.tar.gz
Resolving public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)... 13.32.145.17, 13.32.145.111, 13.32.145.237, ...
Connecting to public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)|13.32.145.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7072846515 (6.6G) [application/x-tar]
Saving to: ‘HDP-2.6.3.0-centos6-rpm.tar.gz.1’

0% [                                                                                                                                       ] 4,627,213    114KB/s  eta 5h 

但是如何知道下面的套件列表是什麼- http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.3.0

wget?

如果 Web 伺服器沒有返回文件列表,wget 也無法顯示。

引用自:https://unix.stackexchange.com/questions/417039