spanskiblog/content/posts/Curl.md

22 lines
426 B
Markdown

+++
date="2022-11-30"
author="spanskiduh"
title="Curl"
description="click to read about Curl"
+++
# 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