본문 바로가기

linux

[linux] wget 파일 다운로드

### wget -P : 다운로드 파일이 저장될 디렉토리를 지정하는데 쓰이는 옵션

```bash

wget -P /path/to/directory URL

```

예) http://example.com/file.zip 를 다운받아  /home/user/downloads 에 저장하는 경우

```bash

wget -P /home/user/downloads http://example.com/file.zip

```

'linux' 카테고리의 다른 글

[linux] sed로 빈줄 제거  (0) 2024.02.13
환경변수  (0) 2024.02.12
[nc] NetCat: Versatile Network Utility for TCP/UDP  (0) 2024.02.12
[linux] 파일 비교 방법  (0) 2024.02.12
[linux] Monitor GPU Power Consuption  (0) 2024.02.12