Check the Desitnation of a Shortned URL Without Opening It
curl -sIL http://bit.ly/1aalcwX | grep 'Location: '

This oneliner will check the target location of any shortened URL, showing all the redirections in between. It's useful for getting the unshortened URL without opening the short link in the browser, and it also performs a HEAD request instead of a GET for more speed and a bit more privacy.

Sample Output:

Location: https://youtu.be/vw5uScet3A8
Location: https://www.youtube.com/watch?v=vw5uScet3A8&feature=youtu.be
Updated Last:2022-12-27T22:40:27.000Z