curl basic usage

curl

usage: curl [options...] <url>

$ curl -h
-o, --output <file> 写入到文件,而不是输出到stdout
-O 写入到文件,文件名和远程文件一样
-L 跟随网站的跳转

example

download file:
curl -LO https://github.com/x/releases/download/v3.0.1/xxx.AppImage

Guess you like

Origin www.cnblogs.com/kirito1/p/12112285.html