Expand a t.co url using cURL

history edit

Twitter, Bash, cURL

curl -I <url> or curl -v <url> which also includes whether the server is blacklisted (not that this is necessarily correct).

> HTTP/1.1 301 Moved Permanently
...
< location: <actual url>