jetsung 通过 CURL 获取 URL 最终跳转到的网址 方式一(推荐): 不会下载文件,直接给出跳转的 URL curl -I -s -w "%{redirect_url}\n" -o /dev/null "https://download-chromium.appspot.com/dl/Linux_x64?type=snapshots" 方式二(不推荐): 会下载文件,比较费时间 curl -Ls -w "%{url_effective}\n" -o /dev/null "https://download-chromium.appspot.com/dl/Linux_x64?type=snapshots"