unshorten is a simple bash script that expands a short URL and displays the original URL.
- curl - curl is a command line tool and library for transferring data with URL syntax. curl is available in repositories of almost every Linux distribution so you can install curl easily via your package manager.
Download unshorten-master.zip, extract it, and copy the file 'unshorten' to '/usr/local/bin/' directory,
$ sudo cp unshorten /usr/local/bin/
Next make it executable,
$ sudo chmod a+x /usr/local/bin/unshorten
Run 'unshorten' from your terminal and enter a short URL when prompted.
If you like unshorten, please consider supporting it, even the smallest contribution goes a long way. It is quick & easy via PayPal, Buy Me a Coffee or Liberapay:
This work (unshorten, by hakerdefo), identified by hakerdefo, is free of known copyright restrictions.