项目地址

This is a public repo for user to shorten a long url.

update note:

01/22/14 Just sina shorten url is supported up to now. 03/05/14 add support of baidu and google Before using:

chmod +x shoturl

#pwd is the abs path of shoturl echo PATH=$PATH:(pwd) » ~/.bashrc Usage:

shoturl http://www.google.com (or shoturl www.google.com)

result:http://t.cn/h51yw

By @hyongbai 共378个字

本文链接 http://yourbay.me/all-about-tech/2014/08/16/shorten-url/