Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jan 062011
 

Create a short URL from command

Answer:

TinyUrl has a simple api for creating short URL for any web site.

E.g. Assume http://example.com

#  curl 'http://tinyurl.com/api-create.php?url=http://example.com/'

http://tinyurl.com/kotu

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>