用curl下载远程文件

This commit is contained in:
guobao.jiang 2016-12-01 09:35:57 +08:00
parent 2c3a1521fa
commit 9b6d04f7ba
1 changed files with 3 additions and 0 deletions

View File

@ -55,3 +55,6 @@ tar -cvf FileName.tar DirName
# 查看上一条命令执行的状态 determine last command status
echo $?
# 用curl下载远程文件
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.0.2.zip