2022-12-24 17:42:40 +01:00
|
|
|
|
2022-12-24 17:09:22 +01:00
|
|
|
+++
|
2022-12-24 17:42:40 +01:00
|
|
|
date="2022-11-30"
|
2022-12-24 17:09:22 +01:00
|
|
|
author="spanskiduh"
|
|
|
|
title="Curl"
|
2022-12-24 17:42:40 +01:00
|
|
|
description="click to read about Curl"
|
2022-12-24 17:09:22 +01:00
|
|
|
+++
|
|
|
|
|
|
|
|
|
|
|
|
# Curl
|
|
|
|
|
|
|
|
### Download any file
|
|
|
|
- `curl -o <file.extension> <url>` -download with new filename
|
|
|
|
- `curl -O <url>` - download with original filename
|
|
|
|
|
|
|
|
useful flags:
|
|
|
|
- `-L` - use redirection
|
|
|
|
- `-H 'key:value'` - add header
|
|
|
|
|
|
|
|
- `curl -IL ssrd.io` - get information about server
|
|
|
|
- `url -vL ssrd.io` - display handshake with a server
|