mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 00:36:35 +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
|
||||
```
|
||||
|
||||
##### Unshorten a shortended URL
|
||||
```bash
|
||||
curl -s -o /dev/null -w "%{redirect_url}" https://bit.ly/34EFwWC
|
||||
```
|
||||
|
||||
##### Perform network throughput tests
|
||||
```bash
|
||||
# server side:
|
||||
|
Loading…
Reference in New Issue
Block a user