1 개요[ | ]
- Downloading files with curl
- curl로 파일 다운로드하기
- wget이 설치되지 않은 상황에서 유용하다.
URL에 있는 파일명 사용
Bash
Copy
curl -LO 유알엘주소
파일명 지정
Bash
Copy
curl -L 유알엘주소 -o 파일명
2 실행예시[ | ]
Console
Copy
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 참고[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.