Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # You need lynx installed on your system !
- id="XXXXXXXX";
- commande=`lynx -dump "http://[URL]/yourls-api.php?signature=$id&action=shorturl&format=simply&url=$1"`
- output=$(echo $commande)
- echo "$output"
Advertisement
Add Comment
Please, Sign In to add comment