curl 파일 다운로드

(Curl로 파일 다운로드하기 curl -LO에서 넘어옴)

1 개요[ | ]

Downloading files with curl
curl로 파일 다운로드하기
  • wget이 설치되지 않은 상황에서 유용하다.
URL에 있는 파일명 사용
curl -LO 유알엘주소
파일명 지정
curl -L 유알엘주소 -o 파일명

2 실행예시[ | ]

root@centos7:~# curl -LO https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.1M  100 12.1M    0     0   340k      0  0:00:36  0:00:36 --:--:--  370k
root@centos7:~# ll cirros-0.4.0-x86_64-disk.img
-rw-r--r--. 1 root root 12716032 Oct 28 15:21 cirros-0.4.0-x86_64-disk.img

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}