Created
June 19, 2015 08:37
-
-
Save l-modolo/36865209d7c2bc2ed86a to your computer and use it in GitHub Desktop.
Small script to send sms with free. Replace <userid> and <userpasswd> by your own.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo $@ | |
text="" | |
for i in $@ | |
do | |
text+=$i | |
text+="%20" | |
done | |
curl -k https://smsapi.free-mobile.fr/sendmsg\?user=userid\&pass=userpasswd\&msg=$text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment