short_link |
|
#!/bin/bash
echo -n "Enter the Long URL : "
read url
short_url=$(curl -s http://tinyurl.com/api-create.php?url=${url})
#
echo "Short URL is : ${short_url}"
#
echo -n "${short_url}" | xsel -b -i
read
exit 0
short_link.sh
chmod +x short_link.sh
alias short="/home/sollus/.config/awesome/scripts_myaw/short_url.sh"
https://www.dropbox.com/s/25o0i58oprrl9uv/3%20cat%...%BA%D0%BE%D1%82%D0%B0.jpg?dl=0
short
Enter the Long URL : https://www.dropbox.com/s/25o0i58oprrl9uv/3%20cat%203%20%D0%BA%D0%BE%D1%82%D0%B0.jpg?dl=0
Short URL is : https://tinyurl.com/2klqedox
and short url copy to clipboard (can be inserted ctrl+v)
https://tinyurl.com/2klqedox
: linux |
|
|
curl -s tinyurl.com/api-create.php?url=URL
( ) URL=https://www.dropbox.com/s/7zzgyvkpxnma3wh/icon.png?dl=0
curl -s tinyurl.com/api-create.php?url=https://www.dropbox.com/s/7zzgyvkpxnma3wh/icon.png?dl=0
: linux terminal |
Royal-Gtk Ubuntu 14.10/14.04 |
|
: ubuntu linux ubuntu linux |
MAT Ubuntu |
|
: MAT
: compizomania.blogspot.com
: soft |
Power-Commands Ubuntu 14.04 |
|
|
Linux |
|
http://compizomania.blogspot.com/2014/04/mintstick-ubuntu-1404.html
: Linux |
15 000 Windows Linux |
|
: linux windows |
: | [1] |