Skip to content

Instantly share code, notes, and snippets.

@l-modolo
Created June 19, 2015 08:37
Show Gist options
  • Save l-modolo/36865209d7c2bc2ed86a to your computer and use it in GitHub Desktop.
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.
#!/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