commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Use curl and sed to shorten an URL using goo.gl without any other api
There are 12 alternatives - vote for the best!
Shorter and made into a function.
(1) required: python-googl ( install by: pip install python-googl )
(2) get from google API console https://code.google.com/apis/console/
If you can do better, submit your command here.
You must be signed in to comment.