mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 21:07:00 +00:00
Use curl to unshorten a shortened URL
This commit is contained in:
parent
4b2167dca3
commit
1e10f6f269
@ -2493,6 +2493,11 @@ curl -I http://example.com/
|
|||||||
curl -s -o /dev/null -w "%{http_code}" https://www.google.com
|
curl -s -o /dev/null -w "%{http_code}" https://www.google.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### Unshorten a shortended URL
|
||||||
|
```bash
|
||||||
|
curl -s -o /dev/null -w "%{redirect_url}" https://bit.ly/34EFwWC
|
||||||
|
```
|
||||||
|
|
||||||
##### Perform network throughput tests
|
##### Perform network throughput tests
|
||||||
```bash
|
```bash
|
||||||
# server side:
|
# server side:
|
||||||
|
Loading…
Reference in New Issue
Block a user