mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-25 14:10:17 +00:00
Use curl to unshorten a shortened URL
This commit is contained in:
parent
4b2167dca3
commit
1e10f6f269
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue