/unshorten

Expands a short URL & displays the original URL.

Primary LanguageShellCreative Commons Zero v1.0 UniversalCC0-1.0

unshorten

unshorten is a simple bash script that expands a short URL and displays the original URL.

Dependencies :

  • 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.

Installation :

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

Usage :

Run 'unshorten' from your terminal and enter a short URL when prompted.

Support :

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:

Support via PayPal
"Buy Me A Coffee"
Support via Liberapay

License :

Public Domain Mark
This work (unshorten, by hakerdefo), identified by hakerdefo, is free of known copyright restrictions.